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.

Changes