Cludz API uses Bearer Token authentication to secure access to its endpoints. You must include your API key in the header of every request.
To authenticate, add the Authorization header to your HTTP requests with the value Bearer <YOUR_API_KEY>.
Authorization: Bearer cludz_live_...
If authentication fails, the API will return one of the following error codes:
| Status Code | Description | Cause |
|---|---|---|
401 Unauthorized | Invalid or missing API key. | You forgot the header or the key is incorrect. |
403 Forbidden | Key lacks permissions. | The key is valid but doesn't have access to this resource (e.g. quota exceeded). |