Conversational AI SDK: deploy customized, interactive voice agents in minutes.
startConversation
method kick off the websocket connection and starts using microphone to communicate with the ElevenLabs Conversational AI agent.url
or agentId
option being required.
Agent ID can be acquired through ElevenLabs UI and is always necessary.
agentId
- no signed link generation necessary.
In case the conversation requires authorization, use the REST API to generate signed links. Use the signed link as a url
parameter.
startSession
returns promise resolving to conversationId
. The value is a globally unique conversation ID you can use to identify separate conversations.