Voice
Vapi assistant configuration
The tool definitions and system prompt to paste into your Vapi assistant, plus the Server URL it should call back on.
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.
Format
uuidHeader Parameters
X-Merchant-ID?string|null
Response Body
application/json
application/json
curl -X GET "https://example.com/api/v1/voice/assistant-config"{ "data": {}, "meta": {}, "success": true}Capture an approved PayPal order and record the sale (public) POST
Capture an approved PayPal order and record the sale (public).
Start a voice session GET
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.