Use an API key
All SLNG endpoints authenticate with a bearer token:| API | Host | Use for |
|---|---|---|
| Gateway API | https://api.slng.ai | Real-time TTS, STT, bridges, pronunciation dictionaries |
| Voice Agents API | https://api.agents.slng.ai | Endpoints under /v1/agents |
| Batch API | https://api.batch.slng.ai | Asynchronous batch transcription endpoints |
Key lifecycle
Keys are created and deleted from the API Keys page in the Dashboard. The secret value is shown once at creation time. Copy it into your secret store immediately; you cannot retrieve it later. Keys cannot be rotated in place. To replace a key without downtime:Roll callers over
Update each caller to use the new key: backend services, voice agents (via
PATCH /v1/agents/{agent_id} if the key is stored on the agent), and any local environments. Verify traffic on the new key before continuing.