Misc

Authentication

Learn how to authenticate your requests to the Cludz API.

Cludz API uses Bearer Token authentication to secure access to its endpoints. You must include your API key in the header of every request.

Authentication Header

To authenticate, add the Authorization header to your HTTP requests with the value Bearer <YOUR_API_KEY>.

Authorization: Bearer cludz_live_...
Your API Key acts as a password. Do not share it or commit it to public repositories.

Obtaining an API Key

  1. Log in to the Cludz Developer Dashboard.
  2. Navigate to the API Keys section.
  3. Click Generate New Key.
  4. Copy the key immediately; it will not be shown again.

Authentication Errors

If authentication fails, the API will return one of the following error codes:

Status CodeDescriptionCause
401 UnauthorizedInvalid or missing API key.You forgot the header or the key is incorrect.
403 ForbiddenKey lacks permissions.The key is valid but doesn't have access to this resource (e.g. quota exceeded).

Security Best Practices

  • Rotate Keys: Regularly regenerate your API keys if you suspect they have been compromised.
  • Environment Variables: extensive usage of environment variables to store your API keys is recommended.
  • Server-Side Only: Do not use your API key in client-side code (browsers), as it can be easily exposed. Proxy requests through your backend.
Built with 💖 by Miza • © 2026 - Powered by Nuxt