livechat
livechat

Dispatch Widget Voice

Mint a LiveKit room + JWT for a livechat-widget voice call.

Browser opens this once, gets {url, token, room}, and joins the LiveKit room directly. The Agents worker auto-joins on the LiveKit side; no Redis hop, no SSE.

post/api/livechat/public/{widget_key}/voice/dispatch

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/livechat/public/{widget_key}/voice/dispatch
  • Auth: none declared

Path parameters

widget_keystring required

Headers

X-Session-Tokenstring nullable

Request body

page_contextobject nullable

Response

Successful Response

urlstring required
tokenstring required
roomstring required
call_idstring required

Changes

No recorded changes to this operation across all 5 revisions of this API.