Voice

Push this backend's tools and prompt onto the live Vapi assistant

POST
/api/v1/voice/sync

The assistant's tools and system prompt live on Vapi's platform, not in this backend - adding a tool here (e.g. navigate_page) does nothing to the assistant Vapi actually runs until it is pushed there. This does that: it fetches the configured assistant, replaces its system message and tool list with this backend's VOICE_TOOLS and SYSTEM_PROMPT, and leaves its provider, model and voice untouched. Runs automatically at startup; call it again after editing a voice tool without restarting the server.

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 POST "https://example.com/api/v1/voice/sync"
{  "data": {},  "meta": {},  "success": true}