API Key Authentication
This API uses API Key authentication to authorize requests. You need to include your API key in the request header under thex-api-key field to access protected resources.
How to Authenticate with an API Key
To authenticate with the API, you must pass your API key in the header of your HTTP request. The header key should bex-api-key, and the value should be your unique API key.
Header Example
Example Request
Here’s an example of a typical HTTP request with the API key in the header:Example using curl
Example using JavaScript (Fetch API)
Example using Python (requests library)
Error Responses
If your API key is missing or invalid, the API will return an error response with an HTTP status code of401 Unauthorized.
Example Error Response
Managing Your API Key
- You can obtain your API key by booking a call.
- Keep your API key secure. Do not share it publicly or include it in client-side code.
Conclusion
By adding thex-api-key header to your requests, you can securely authenticate and interact with the API. Always make sure to store your API key in a secure location and rotate it periodically if needed.
If you have any questions, please contact our support team at [email protected].