latestOpenAPI 3.0.02026-08-19219210532.7 KB

bd5a5f406bca

assistant

Provision a voice agent and return a WebRTC token

post/api/v1/assistant/voice/agent

Request body

conversationIdstring required

Chat id the voice session belongs to (tagged on the agent)

isDemoboolean

Demo mode provisions an agent with no connected tools

Response

agentIdstring required

The provisioned ElevenLabs agent id

conversationTokenstring required

WebRTC token the client uses to join the ElevenLabs session