sonixdocs

Authentication

All /v1/* endpoints take a bearer token:

Authorization: Bearer xy_live_...

The ElevenLabs-compatible routes additionally accept the ElevenLabs header, so drop-in clients work unchanged:

xi-api-key: xy_live_...

Both headers use the same keys. A missing or invalid token returns 401 with an OpenAI-shaped error.

Rate limits

Requests are subject to per-key request and token quotas. When a quota is exceeded the API returns 429 with Retry-After plus x-ratelimit-limit, x-ratelimit-remaining, x-ratelimit-reset-after, and x-ratelimit-policy headers. Back off and retry after the indicated delay.