The simplest way to authenticate is by using your API Key directly. Get your API Key from our API interfaces by clicking on the top API button on this page openAPI.Note: In the frontend interface, this is displayed as “API Key”, but in code implementation, it’s the same value as your previous clientSecret.
Login to our website
Click API icon
Click “API Credentials” to generate your API Key
Use the API Key directly in your requests
All API requests should include your API Key in the HTTP header:Custom x-api-key header
For backward compatibility, we also support the traditional clientId/clientSecret method:Note: Your API Key (displayed in frontend) is the same value as your previous clientSecret. In code, you can reference it as either clientSecret or use the x-api-key header format.
Login to our website
Click API icon
Click “API Credentials” to set your key pair (clientId, API Key)
Use the clientId/API Key to obtain an access token via the /getToken endpoint
Use the obtained token in subsequent API calls
Bearer tokens are generally composed of a random string of characters. Formally, it takes the form of the “Bearer” keyword and the token value separated by spaces:
Security Note: Your API Key/token is secret! Do not share it with others or expose it in any client-side code (browser, application). Production requests must be routed through your own backend server, and your API Key can be securely loaded from environment variables or a key management service.