Skip to main content
The Apollo AI API uses API keys to authenticate requests. You can view and manage your API keys in the Apollo AI Dashboard.

Authentication Header

All API requests must include your API key in the x-api-key header.
x-api-key: your_api_key_here

Example Request

curl -X POST "https://apolloai.lol/v1/generation/prompt" \
  -H "x-api-key: your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Hello world"
  }'

Response Codes

Status CodeDescription
401Unauthorized: API key is missing or invalid.
403Forbidden: API key is valid but does not have permission for the requested resource (e.g. tier restrictions).