Authentication
See how you can authenticate with ComplyCube.
The ComplyCube API uses API keys to authenticate requests. You can view and refresh the API keys in your Portal (Developers).
Sandbox environment keys have the prefix test_ whereas Live environment keys have the prefix live_.
Your API keys carry many privileges, so be sure to keep them secure. Do not share your API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
Example of an authenticated request
curl -X GET https://api.complycube.com/v1/clients \
-H 'Authorization: <YOUR_API_KEY>'const { ComplyCube } = require("@complycube/api");
const complycube = new ComplyCube({ apiKey: "<YOUR_API_KEY>" });
const clients = await complycube.client.list();from complycube import ComplyCubeClient
cc_api = ComplyCubeClient(api_key='<YOUR API KEY>')use ComplyCube\ComplyCubeClient;
$ccapi = new ComplyCubeClient('<YOUR API KEY>');Last updated
Was this helpful?