Skip to main content

Authentication

The API uses two authentication methods:

API Key Authentication (for API access)

All quote, anime, and character endpoints require an API key passed via the X-API-Key header:

Key Format

API keys follow the format: aq_k_ followed by 80 hex characters. Example: aq_k_a1b2c3d4e5f6g7h8i9j0...

Key Security

  • Keys are hashed before storage — we never store your full key
  • The full key is shown only once at creation time
  • You can create up to N keys based on your plan (Free: 2, Starter: 5, Pro: 10)
  • Unused keys can be revoked from the dashboard

Error Responses

Session Authentication (for Dashboard)

The developer dashboard uses JWT-based session authentication. This is handled automatically by the dashboard UI and is not needed for API access.