API Reference
v1.7.3
Search
K
Comment on page

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#
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>');
using ComplyCube.Net;
var client = new ComplyCubeClient("<YOUR_API_KEY>");