c2d0eb64b01a

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

Start a web call session

Mints a short-lived LiveKit access token and creates a room the browser client can join to have a voice-first call with the agent. Same response shape as /conversation/chat; the difference is the audio track defaults on the client side. Pair with the Web SDK to open the room in-browser.

post/conversation/webcall

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"
  }
}