Voice

Start a voice session

GET
/api/v1/voice/session

Returns the public key, assistant id and per-session overrides the browser SDK needs. Includes a short-lived session token that the assistant presents when calling back into the API, so voice tool calls are authenticated and merchant-scoped like any other request.

Authorization

HTTPBearer
AuthorizationBearer <token>

JWT access token

In: header

Query Parameters

merchant_id?|

Optional merchant to act on. Must be one you are a member of.

Formatuuid

Header Parameters

X-Merchant-ID?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/voice/session"
{  "data": {    "assistant_id": "string",    "assistant_overrides": {},    "disabled_reason": "string",    "enabled": true,    "greeting": "",    "public_key": "string",    "session_token": "string"  },  "meta": {},  "success": true}