---
title: "Dispatch Widget Voice"
method: POST
path: "/api/livechat/public/{widget_key}/voice/dispatch"
tags: ["livechat", "livechat"]
---

# Dispatch Widget Voice

`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

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.

## Path parameters

- `widget_key` string, required

## Headers

- `X-Session-Token` string, nullable

## Request body

- VoiceDispatchRequest
  - `page_context` object, nullable

## Response `200`

Successful Response

- VoiceDispatchResponse
  - `url` string, required
  - `token` string, required
  - `room` string, required
  - `call_id` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
