GET
/v1/convai/conversation/get-signed-url
ElevenLabs APIGet Signed Url
- Base URL
- https://api.elevenlabs.io
- Auth
- xi-api-key: <ELEVENLABS_API_KEY>
- Last verified
- 2026-09-03 · upstream hash matched
Actions
Agents: curl -H "Accept: text/markdown" this URL
→ 234 tokens · Vary: Accept
→ 234 tokens · Vary: Accept
Critical gotchas
Authentication uses the non-standard xi-api-key header, not Authorization: Bearer. Sending a Bearer token returns HTTP 401.
Text-to-speech responses are raw binary audio, not JSON. Write the body to a file (--output speech.mp3) rather than parsing it.
cURL
curl -X GET 'https://api.elevenlabs.io/v1/convai/conversation/get-signed-url?agent_id=agent-id&include_conversation_id=false&branch_id=branch-id&environment=example-environment&debug_events_request=false' \ -H "xi-api-key: $ELEVENLABS_API_KEY"Get a free ElevenLabs API key → sponsored
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| agent_id | query | string | Yes | Agent id (agent_…) or speech engine external id (seng_), resolved to the same underlying resource. |
| include_conversation_id | query | boolean | No | Whether to include a conversation_id with the response. If included, the conversation_signature cannot be used again. |
| branch_id | query | string | No | The ID of the branch to use |
| environment | query | string | No | The environment to use for resolving environment variables (e.g. 'production', 'staging'). Defaults to 'production'. |
| debug_events_request | query | boolean | No | Whether to enable debug events. Only available for users with editor access to the agent. |
Response 200 OK
{
"signed_url": "string"
}