Start a web chat session
Mints a short-lived session access token and creates a room the browser client can
join to have a text-first chat with the agent. The response includes the room name,
the WebSocket host to connect to, a conversationId for correlation, and a callId
that shows up in call logs. Pair with the Web SDK
to render the session in-browser.
Authentication
AuthorizationBearer
API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.
Request
This endpoint expects an object.
agentId
The agent to attach the browser client to.
Response
Session minted. Use token + host on the browser client to join roomName.
status
data
Errors
400
Bad Request Error