provider Agents Platform GET
/v1/convai/conversation/token @utdk/elevenlabs
/v1/convai/conversation/token Get Webrtc Token
Get a WebRTC session token for real-time communication.
- agent_id query required
- Agent id (agent_…) or speech engine external id (seng_), resolved to the same underlying resource.
- string
- participant_name query
- Optional custom participant name. If not provided, user ID will be used
- branch_id query
- The ID of the branch to use
- environment query
- The environment to use for resolving environment variables (e.g. 'production', 'staging'). Defaults to 'production'.
- xi-api-key header
- Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Try it
Authentication
Configure credentials for ElevenLabs API Documentation
Code snippet
Updates live as you fill in the form above.
TypeScript
import elevenlabs from '@utdk/elevenlabs';
await elevenlabs.getLivekitToken()