latestOpenAPI 3.0.02026-08-19219210532.7 KB

bd5a5f406bca

session

Get a conversation connection (credential + transport) for a session

post/api/v1/sessions/{sessionId}/conversation-token

Path parameters

sessionIdstring uuid required

The unique identifier for the session.

Request body

assistantIdstring required

The ElevenLabs agent ID for the conversation.

Response

connectionType'webrtc' | 'websocket' required

Transport the credential authenticates, determined by the organization configuration.

credentialstring required

Short-lived ElevenLabs connection credential: a conversation token when connectionType is webrtc, a signed URL when it is websocket.