c2d0eb64b01a

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0915378562.5 KB
Web Call

Start a web chat session

Mints a short-lived LiveKit 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 LiveKit 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.

post/conversation/chat

Request body

agentIdstring required

The agent to attach the browser client to.

Example request

{
  "agentId": "6a75935452c6e5eceaa16edf"
}

Response

Session minted. Use token + host on the browser client to join roomName.

statusboolean

Example response

{
  "status": true,
  "data": {
    "token": "eyJhbGciOiJIUzI1NiJ9...",
    "roomName": "dee9223a-4751-49a9-bcbc-cb35c5a8371d",
    "host": "wss://atoms-prod-evcaw70g.livekit.cloud",
    "conversationId": "IyF-GCRiprATI5rx4lIdvg",
    "callId": "CALL-1786159503332-8387f2"
  }
}