Documentation

DocsAuthentication

Authentication

All API requests to AlgorithmX must be authenticated via a Bearer token in the Authorization header.

Generating API Keys

You can generate API keys from the Developers section in your AlgorithmX dashboard.

[!WARNING] Keep your API keys secure. Do not expose them in client-side code (e.g., in a React component). Always make API requests from a secure backend server.

Making Authenticated Requests

Include your API key in the Authorization header of every HTTP request:

curl -X GET "https://api.algorithmx.com/v1/audiences" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

If the authentication is successful, the server will respond with the requested data. Otherwise, you will receive a 401 Unauthorized response.