API Reference
Search…
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 on your API keys page.
Sandbox environment keys have the prefix test_ whereas Live environment keys have the prefix live_.
All API requests must be made over HTTPS. Any requests made over HTTP will fail.
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
Node.js
Python
PHP
C#
1
curl -X GET https://api.complycube.com/v1/clients \
2
-H 'Authorization: <YOUR_API_KEY>'
Copied!
1
const { ComplyCube } = require("@complycube/api");
2
3
const complycube = new ComplyCube({ apiKey: "<YOUR_API_KEY>" });
4
5
const clients = await complycube.client.list();
Copied!
1
from complycube import ComplyCubeClient
2
3
cc_api = ComplyCubeClient(api_key='<YOUR_API_KEY>')
Copied!
1
use ComplyCube\ComplyCubeClient;
2
3
$ccapi = new ComplyCubeClient('<YOUR_API_KEY>');
Copied!
1
using ComplyCube.Net;
2
3
var client = new ComplyCubeClient("<YOUR_API_KEY>");
Copied!
Copy link
Contents