Get Webrtc Token
Get a WebRTC session token for real-time communication.
Query parameters
Agent id (agent_…) or speech engine external id (seng_), resolved to the same underlying resource.
Agent id (agent_…) or speech engine external id (seng_), resolved to the same underlying resource.
Optional custom participant name. If not provided, user ID will be used
Optional custom participant name. If not provided, user ID will be used
The ID of the branch to use
The ID of the branch to use
The environment to use for resolving environment variables (e.g. 'production', 'staging'). Defaults to 'production'.
The environment to use for resolving environment variables (e.g. 'production', 'staging'). Defaults to 'production'.
Whether to enable debug events. Only available for users with editor access to the agent.
Whether to enable debug events. Only available for users with editor access to the agent.
Headers
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.
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.
Response
Successful Response
Changes
Changed in 2 of the 28 revisions of this API.2
- ○
added the new optional
queryrequest parameterdebug_events_requestnew-optional-request-parameter
- ○
- ○
added the required property
conversation_idto the response with the200statusresponse-required-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○