Wixzel Voice
v0.12.0Lets Claude, Cursor or any MCP client build voice agents and place real phone calls.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_engines List available engines and models
What the platform can serve right now, with per-unit prices in micro-USD. Each engine is composed (needs stt + llm + tts models) or realtime (one model). Call this before create_agent rather than guessing model ids: an engine whose provider is degraded disappears from this list before calls start failing. No scope needed beyond a valid key.
list_engine_languages List an engine's languages
Which languages an engine can hold a conversation in. Call this before create_agent when the user names a language: a composed engine only lists a language when both its speech-to-text and its text-to-speech serve it, so this is the list that is true end to end rather than a guess from the model names. Use a code from here as the agent's language or as voice.stt.language / voice.realtime.language. No scope needed beyond a valid key.
| Parameter | Type | Description |
|---|---|---|
engine * | string | An engine id from list_engines, e.g. "classic", "sarvam", "gemini_live", "deepgram_agent", "openai_live", "openai_realtime", "grok_voice". |
list_engine_voices List an engine's speaker voices
The voices an engine can speak as — the voice the caller actually hears. Use an id from here as voice.tts.voice (composed engines) or voice.realtime.voice (realtime engines). Never invent a voice id; an unknown one is rejected. The account's own cloned voices (create_voice_clone) come first, with category cloned. A response with stale: true means the provider could not be reached and this is the last known list. No scope needed beyond a valid key.
| Parameter | Type | Description |
|---|---|---|
engine * | string | An engine id from list_engines, e.g. "classic", "sarvam", "gemini_live", "deepgram_agent", "openai_live", "openai_realtime", "grok_voice". |
list_agents List agents
List the voice agents on this account. Cursor-paginated: pass next_cursor as starting_after for the next page. Requires scope `agents:read`.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
limit | integer | Page size, 1–100. Default 20. |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
get_agent Retrieve an agent
Fetch one agent by id, including its full voice configuration, prompt and mascot. Requires scope `agents:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
create_agent Create an agent
Create a voice agent. Pick models with list_engines first: an unavailable or mistyped model is rejected with unsupported_model. voice is either a composed pipeline {stt, llm, tts} or a single {realtime} model, never both; an openai/ realtime model (GPT-Live) may also carry {llm} for the model that answers behind it. Every agent gets the default green Wixzel mascot unless mascot is given. To build an agent from a website instead, use generate_agent. Requires scope `agents:write`.
| Parameter | Type | Description |
|---|---|---|
name * | string | A label for your own reference, e.g. "Support line". |
opening_message * | string | Spoken as soon as the call connects. Supports {{name}} style merge fields from the lead. Required: an agent without one answers in silence. |
system_prompt * | string | The agent's instructions. This is a spoken conversation, so keep it short, concrete, and free of markdown. |
voice * | object | Either a COMPOSED pipeline {stt, llm, tts} (all three required together) or a single REALTIME model {realtime}. Never both, with one exception: an openai/ realtime model (GPT-Live) may carry {llm} too… |
appointment_booking_enabled | boolean | Let the agent book appointments during a call. |
knowledge_base_id | string | A knowledge base the agent can draw on. See list_knowledge_bases. |
language | string | BCP-47 tag for the conversation, e.g. "en-US" or "hi-IN". |
mascot | object | The agent's mascot. Omit for the default green Wixzel mascot; change it later with update_agent_mascot. |
mcp_server_ids | array | MCP servers (connected apps) whose enabled tools the agent can use during calls. See list_mcp_servers. Replaces the list; [] removes all. |
outbound_phone_number_id | string | Default caller id for outbound calls placed with this agent. See list_phone_numbers. |
tool_ids | array | Your own tools (webhook and client) the agent can use during calls. See list_tools. Replaces the list; [] removes all. |
whatsapp | object | WhatsApp: the number it sends from on calls, and its WhatsApp tools (all off until turned on). Fields you leave out keep their value. |
generate_agent Generate an agent
Build an agent on the server from the business's website_url (its pages become the agent's knowledge base, its colour and tone the mascot), a description, or both, and the role it plays, e.g. "receptionist". Takes up to a minute; this tool waits for it and returns the finished agent (mascot.status ready, or failed with mascot.error; a failed build leaves the agent with the default mascot). Charged for the model tokens it spends. One build at a time per account, and builds from a website or description are rate limited. Also needs knowledge_bases:write when a website is given. Requires scope `…
| Parameter | Type | Description |
|---|---|---|
description | string | e.g. "A calm receptionist for a dental clinic in Kochi. Teal." |
name | string | What the agent calls itself. Without it, the generator picks a name. |
role | string | receptionist, support, sales, guide, or your own words. |
website_url | string | The business's website. Read once, not stored. |
test_call_agent Place a test call
Ring a number and have the agent speak one phrase, then hang up. A probe, not a conversation: it answers "is the trunk configured and does this agent sound right" in seconds. For a real conversation use place_call. THIS RINGS A REAL PHONE AND SPENDS REAL CREDIT — the meter runs on a test call exactly as on any other, so confirm the number with the user first. Human transfer is not offered during a test call, so this cannot check that a transfer destination answers. Needs calls:write. Requires scope `calls:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
to * | string | Destination in E.164 form, e.g. "+14155551234". A real phone will ring. |
from_number_id | string | Defaults to the agent's own outbound number. See list_phone_numbers. |
idempotency_key | string | Idempotency-Key for safe retries. Generated automatically when omitted. Reuse the SAME value when retrying the SAME logical request; never reuse it for a different one. |
phrase | string | What to say. Defaults to the agent's opening message, which is usually what you want to hear. |
update_agent Update an agent
Change an agent. Only the fields you send are changed; omit the rest. Sending voice replaces the whole voice object. Requires scope `agents:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
appointment_booking_enabled | boolean | Let the agent book appointments during a call. |
knowledge_base_id | string | A knowledge base the agent can draw on. See list_knowledge_bases. |
language | string | BCP-47 tag for the conversation, e.g. "en-US" or "hi-IN". |
mcp_server_ids | array | MCP servers (connected apps) whose enabled tools the agent can use during calls. See list_mcp_servers. Replaces the list; [] removes all. |
name | string | A label for your own reference, e.g. "Support line". |
opening_message | string | Spoken as soon as the call connects. Supports {{name}} style merge fields from the lead. Required: an agent without one answers in silence. |
outbound_phone_number_id | string | Default caller id for outbound calls placed with this agent. See list_phone_numbers. |
system_prompt | string | The agent's instructions. This is a spoken conversation, so keep it short, concrete, and free of markdown. |
tool_ids | array | Your own tools (webhook and client) the agent can use during calls. See list_tools. Replaces the list; [] removes all. |
voice | object | Either a COMPOSED pipeline {stt, llm, tts} (all three required together) or a single REALTIME model {realtime}. Never both, with one exception: an openai/ realtime model (GPT-Live) may carry {llm} too… |
whatsapp | object | WhatsApp: the number it sends from on calls, and its WhatsApp tools (all off until turned on). Fields you leave out keep their value. |
update_agent_mascot Update an agent's mascot
Replace an agent's mascot spec or change its welcome message. A spec replaces the old one whole, so send the full spec with your changes in it. Sharing the mascot publicly (which lets strangers call the agent on the account's credit) is done in the console, not here. For a new look made on the server, use generate_agent_mascot. Requires scope `agents:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
spec | object | A mascot spec: { name, color: "#rrggbb", shape: { kind: circle|drop|triangle|cloud|pill|flower|squircle|blob|heart, rotation, aspect, seed }, eyes: { style: pill|round|block|line, color, width, height… |
welcome_message | string | What the mascot's speech bubble says on the share page and website widget before a call. Empty uses the agent's opening line. |
generate_agent_mascot Generate a new mascot look
Give an agent's mascot a new look made on the server, from a website_url, a description, or both; neither for a random one. The agent's prompt is not changed. Takes up to a minute; this tool waits for it and returns the agent (mascot.status ready, or failed with mascot.error and the old look). Charged for the model tokens it spends. Same limits as generate_agent. Also needs knowledge_bases:write when a knowledge base is made or rewritten. Requires scope `agents:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
description | string | The brand, its tone, a colour. |
refresh_knowledge | boolean | With website_url: rewrite the agent's knowledge base from the website. Changes what it says on phone calls too; ask first. Without it the website only sets the look, and gives the agent a knowledge ba… |
website_url | string | The business's website. Read once, not stored. |
delete_agent Delete an agent
Permanently delete an agent and its mascot. Phone numbers and campaigns pointing at it stop working. Not reversible. Requires scope `agents:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
place_call Place an outbound call
Dial a real phone number over the account's SIP trunk and connect the agent. THIS SPENDS MONEY AND MAKES A PHONE RING: confirm with the user before calling it. Credit is reserved up front; an underfunded account is refused with insufficient_credits and nothing is dialled. Returns the call record immediately with status queued or ringing; poll get_call for progress, transcript and cost. Needs an agent (create_agent), a SIP trunk (create_sip_trunk) and a phone number on it (create_phone_number), either as from_number_id or as the agent's outbound_phone_number_id. Requires scope `calls:write`.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The agent that will hold the conversation. |
to * | string | Destination in E.164 form, e.g. "+14155551234". |
from_number_id | string | Phone number id to call from. Defaults to the agent's outbound_phone_number_id. |
idempotency_key | string | Idempotency-Key for safe retries. Generated automatically when omitted. Reuse the SAME value when retrying the SAME logical request; never reuse it for a different one. |
lead_id | string | Existing lead to attribute the call to. One is created if omitted. |
lead_name | string | Name for the auto-created lead; available as {{name}} in the opening message. |
metadata | object | Echoed back on the call and in webhooks. Not shown to the model. |
list_calls List calls
List calls in summary form (no transcript). Filter by status, direction, agent, campaign, caller, engine, phone number or time window. Inbound calls and calls through an agent's mascot carry caller: who called, how they were verified, and where from. Use get_call for the full record of one call. Requires scope `calls:read`.
| Parameter | Type | Description |
|---|---|---|
agent_id | string | |
caller_id | string | Only this caller's calls. See list_callers. |
campaign_id | string | |
device | string | |
direction | string | |
email | string | Matched against the email the caller gave. |
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
engine | string | Engine id as returned by list_engines. |
failed_only | boolean | Only calls that did not connect. |
limit | integer | Page size, 1–100. Default 20. |
location | string | Matched against the caller's city, region and country. |
phone_number | string | Match either party's number. |
platform | string | Matched against the caller's browser and operating system. |
search | string | Text matched against the caller's name, email, phone, city, region, country, browser, OS and device, and the numbers on the call. |
source | string | Where calls came from, comma-separated: share_link, website, app, phone. |
started_after | string | ISO 8601 timestamp, UTC, e.g. "2026-09-01T12:00:00.000Z". |
started_before | string | ISO 8601 timestamp, UTC, e.g. "2026-09-01T12:00:00.000Z". |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
status | string |
get_call Retrieve a call
The full call record: status, duration, cost_micros, recording_url, summary, transcript, transfers, and any provider errors. If the call did not connect, failure_code (a Q.850 cause: 17 busy, 19 no answer, 21 rejected by carrier, 34 congestion, 102 timeout) and failure_reason say what to do about it. Requires scope `calls:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The call id (not the session_id). |
get_call_transcript Retrieve a call transcript
Just the transcript of a call, as a list of {role, content, timestamp} turns. Requires scope `calls:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
hangup_call End a call in progress
Hang up a live call. Billing stops when the call ends. Returns the updated call record. Requires scope `calls:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
delete_call Delete a call record
Remove a call log with its transcript and recording, as a caller's erasure request needs. The usage rows that billed it are kept (they carry no content). A call still in progress cannot be deleted; hang it up first. Not reversible. Requires scope `calls:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
list_callers List callers
Who has called the account's agents, newest first, one record per person per agent: by Google sign-in, app account, phone number or browser. Each has a name, email and phone when the caller gave them, verified_by (google, app, form, or null), their latest location and platform, call_count, and whether they are blocked. Filter by agent_id, or set blocked to true for an agent's blocklist. For one caller's calls, use list_calls with caller_id. Requires scope `calls:read`.
| Parameter | Type | Description |
|---|---|---|
agent_id | string | Only callers of this agent. |
blocked | boolean | true for the blocklist, false for callers who are not blocked. |
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
limit | integer | Page size, 1–100. Default 20. |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
get_caller Retrieve a caller
One caller: their name and contact, how those were learned, where and on what they last called from, how many calls they made, and whether they are blocked. For their calls, use list_calls with caller_id. Requires scope `calls:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The caller id, from list_callers or a call's caller.id. |
update_caller Block or unblock a caller
Block or unblock one caller for the agent they called. Blocking stops that person calling the agent: not from its share link, its website widget, the app, or by phone. They are told only that they cannot call. Confirm with the user before blocking someone. Set blocked to false to unblock them, which lets them call again. Other agents on the account are not affected. Requires scope `calls:write`.
| Parameter | Type | Description |
|---|---|---|
blocked * | boolean | true to block this caller, false to unblock them. |
id * | string | The caller id, from list_callers or a call's caller.id. |
create_realtime_session Create a realtime (browser/app) session
Mint a one-minute, single-use client secret that lets a web page or app talk to an agent over wss://…/v1/realtime, with no SIP trunk or phone number. Nothing is charged when minting; once a client connects, the session bills at the same per-minute price as a phone call on that engine, counts toward the concurrent-call limit and appears in list_calls with channel "web". Use it to hand the user a working secret for testing their integration, or to explain the flow. The secret belongs in the client; the API key never does. Human transfer is not available on web sessions. Requires scope `calls:…
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The agent the user will talk to. |
allowed_origins | array | Browser origins allowed to open the socket, e.g. "https://app.example.com". Recommended for web use. |
lead_id | string | Existing lead to attribute the session to. Merge fields resolve from it. |
max_duration_seconds | integer | Hard cap on the conversation. Default 600. |
metadata | object | Echoed on the resulting call and its callCompleted webhook. Not shown to the model. |
get_meeting_integration Retrieve the meeting integration
The Attendee account agents join meetings through: its URL, the last four characters of its key, and whether a webhook secret is stored. A not_found error means none is connected yet: use connect_meeting_integration first. Requires scope `calls:read`.
connect_meeting_integration Connect Attendee for meetings
Store the user's own Attendee account (attendee.dev), which agents join Zoom, Google Meet and Teams meetings through. Bring your own key: the user signs up at app.attendee.dev (or runs Attendee themselves) and creates an API key in their project there. Attendee bills the user for bot hours directly. The key is checked with Attendee before it is saved and is never returned. Calling this again replaces what is stored. For Zoom meetings the user's Attendee project also needs Zoom Meeting SDK credentials, set up in Attendee. Requires scope `calls:write`.
| Parameter | Type | Description |
|---|---|---|
api_key | string | An API key from the user's Attendee project. Needed the first time and when base_url changes; omit to keep the stored key. |
base_url | string | Their Attendee: https://app.attendee.dev (the default) or the address of their own install. |
signed_in_bots | object | Signed-in bots show as a named account instead of an anonymous guest that Meet labels "appears to be a bot". Omit to keep what is stored. Not for Zoom. |
webhook_secret | Optional: the Attendee project's webhook secret (Settings > Webhooks there), so bot state webhooks are signature-checked. null removes it. |
delete_meeting_integration Disconnect Attendee
Forget the stored Attendee URL and key. Meetings already running carry on; new ones cannot be joined until it is connected again. Requires scope `calls:write`.
join_meeting Send an agent to a meeting
The agent joins a Zoom, Google Meet or Microsoft Teams meeting as a named participant (bot_name, default the agent's name), through the user's Attendee (connect_meeting_integration first). THIS PUTS A BOT INTO A REAL MEETING AND SPENDS CREDIT ONCE IT IS LET IN: confirm with the user before calling it. By default the agent speaks only when someone says its name (respond_when "addressed"); use "always" for a one-to-one meeting. Nothing is charged while the bot joins or waits to be admitted; once in, it is billed like a realtime session until it leaves. Returns the meeting with status joining; po…
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The agent that joins. |
meeting_url * | string | The meeting's join link, e.g. https://meet.google.com/abc-defg-hij, https://zoom.us/j/123?pwd=…, or a Teams meetup-join link. |
bot_name | string | The name shown in the meeting. Defaults to the agent's name. |
idempotency_key | string | Idempotency-Key for safe retries. Generated automatically when omitted. Reuse the SAME value when retrying the SAME logical request; never reuse it for a different one. |
lead_id | string | Existing lead to attribute the meeting to. |
max_duration_seconds | integer | Cap on time in the meeting once admitted. Default 3600. |
metadata | object | Echoed on the call and its callCompleted webhook. Not shown to the model. |
respond_when | string | "addressed" (default): speak only after its name is said, and briefly after it last spoke. "always": answer whatever it hears. |
signed_in | boolean | Sign the bot in before it joins (Meet and Teams). Defaults to the integration's signed_in_bots setting; true on Zoom is refused. |
waiting_room_timeout_seconds | integer | How long to wait to be admitted. Default 600. |
wake_names | array | Extra names that address the agent, e.g. how people shorten it. |
list_meetings List meetings
Meetings agents were sent to, newest first, with their status (joining, waiting_room, in_meeting, ended, failed). Requires scope `calls:read`.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
limit | integer | Page size, 1–100. Default 20. |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
get_meeting Retrieve a meeting
Where the bot is, or how it ended: status, bot_state (Attendee's own), end_reason, error, duration_seconds and cost_micros. Use get_call with the same id for the transcript. Requires scope `calls:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The meeting id returned by join_meeting. |
leave_meeting Leave a meeting
The agent leaves the meeting now. A bot still joining or waiting is called off. Billing stops when it leaves. Requires scope `calls:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The meeting id. |
list_sip_trunks List SIP trunks
List the account's SIP trunks. Each carries platform_ip (allowlist it with the carrier for outbound) and origination_uri (point the carrier at it for inbound). Requires scope `sip_trunks:read`.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
limit | integer | Page size, 1–100. Default 20. |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
get_sip_trunk Retrieve a SIP trunk
Fetch one SIP trunk by id. The password is never returned. Requires scope `sip_trunks:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
list_carrier_numbers List the numbers on a carrier account
Every number on the carrier account behind a trunk that was connected in one step (it has a carrier). attached says whether the carrier already sends its calls here; phone_number_id is set once it is registered. Register one with create_phone_number. A trunk added by hand answers trunk_not_carrier_connected. Requires scope `phone_numbers:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
search_available_numbers Search for numbers to buy
Numbers the trunk's carrier will sell, with the carrier's own monthly_cost and upfront_cost in its currency. Free, and changes nothing. Only on a trunk with can_buy_numbers (Twilio, Telnyx, Plivo, Vobiz, Vonage, Exotel). Buy one with purchase_phone_number. Requires scope `phone_numbers:read`.
| Parameter | Type | Description |
|---|---|---|
country * | string | Two-letter country code, e.g. "IN" or "US". |
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
area_code | string | Digits the national number should start with, where the carrier supports it. |
contains | string | Digits the number should contain. |
limit | integer | |
type | string | Default local. |
create_sip_trunk Create a SIP trunk
Connect the user's own carrier (Twilio, Telnyx, Plivo, Vonage, Bandwidth, Exotel, Vobiz, any SIP provider). Wixzel does not resell telephony. After creating, tell the user to allowlist the returned platform_ip with their carrier (for outbound) and to set the carrier's origination URI to origination_uri (for inbound). Then run check_sip_trunk_status. Requires scope `sip_trunks:write`.
| Parameter | Type | Description |
|---|---|---|
host * | string | The carrier's SIP host, e.g. "sip.carrier.example". |
name * | string | A label, e.g. "Twilio" or "My carrier". |
auth_realm | string | |
default_caller_id | string | Caller id to present when no phone number is chosen. |
dial_prefix | string | Digits prepended to every dialled number, if the carrier needs them. |
password | string | Stored encrypted and never returned by the API again. Ask the user for it; do not invent one. |
port | integer | Default 5060 (5061 for tls). |
provider_name | string | Free text, e.g. "twilio", "telnyx", "plivo", "vonage", "bandwidth", "exotel", "vobiz". |
send_plus | boolean | Keep the leading "+" when dialling, so the request URI reads sip:+15551234567@host. Twilio, Telnyx and Vobiz want true; many wholesale carriers answer 408 unless it is false. |
transport | string | |
username | string |
update_sip_trunk Update a SIP trunk
Change a SIP trunk. Only the fields you send are changed. Requires scope `sip_trunks:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
auth_realm | string | |
default_caller_id | string | Caller id to present when no phone number is chosen. |
dial_prefix | string | Digits prepended to every dialled number, if the carrier needs them. |
host | string | The carrier's SIP host, e.g. "sip.carrier.example". |
name | string | A label, e.g. "Twilio" or "My carrier". |
password | string | Stored encrypted and never returned by the API again. Ask the user for it; do not invent one. |
port | integer | Default 5060 (5061 for tls). |
provider_name | string | Free text, e.g. "twilio", "telnyx", "plivo", "vonage", "bandwidth", "exotel", "vobiz". |
send_plus | boolean | Keep the leading "+" when dialling, so the request URI reads sip:+15551234567@host. Twilio, Telnyx and Vobiz want true; many wholesale carriers answer 408 unless it is false. |
transport | string | |
username | string |
delete_sip_trunk Delete a SIP trunk
Remove a SIP trunk. Phone numbers on it can no longer make or take calls. Not reversible. Requires scope `sip_trunks:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
check_sip_trunk_status Check a SIP trunk
Diagnose a trunk: Asterisk's own qualify result and a live network probe, side by side. Where they disagree is the diagnosis. A carrier that ignores unauthenticated OPTIONS shows probe.reachable false while Asterisk reports it healthy; that is normal. Read-only and free. Use this first when calls fail with carrier rejections. Requires scope `sip_trunks:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
test_sip_trunk Test a SIP trunk
Send a TCP connect or unauthenticated SIP OPTIONS to the carrier from the platform and record the outcome on the trunk. Puts traffic on a third party. A negative result is not proof the trunk is broken: many carriers drop unauthenticated probes. Prefer check_sip_trunk_status. Requires scope `sip_trunks:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
get_sip_trunk_logs Recent SIP events
The SIP engine's recent events for this account: registration, call setup, and carrier rejections with their cause. A live in-memory ring buffer, not an audit trail. Poll with since_id set to the last_id of the previous response to get only new entries. Requires scope `sip_trunks:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
limit | integer | |
since_id | integer | Return only entries newer than this id. |
list_phone_numbers List phone numbers
List the phone numbers registered on this account, with the SIP trunk each rides on and the agent (if any) answering inbound calls. Requires scope `phone_numbers:read`.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
limit | integer | Page size, 1–100. Default 20. |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
get_phone_number Retrieve a phone number
Fetch one phone number record by id. Requires scope `phone_numbers:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
create_phone_number Register a phone number
Register a number you already own with your carrier, on one of your SIP trunks. Set inbound_agent_id to have an agent answer calls to it; without it inbound calls are rejected. On a trunk whose carrier was connected in one step (it has a carrier), this also points the number at Wixzel Voice at the carrier, and the number must be on that account (see list_carrier_numbers). On a trunk added by hand, the carrier must also be pointed at the trunk's origination_uri (see get_sip_trunk). To buy a new number instead, use search_available_numbers and purchase_phone_number. Requires scope `phone_number…
| Parameter | Type | Description |
|---|---|---|
phone_number * | string | Phone number in E.164 form, e.g. "+14155551234". |
sip_trunk_id * | string | The trunk this number is routed through. See list_sip_trunks. |
inbound_agent_id | string | Agent that answers inbound calls to this number. |
name | string | A label, e.g. "Main line". |
purchase_phone_number Buy a phone number
Buy a number on the user's own carrier account, point it at the trunk, and register it. The CARRIER CHARGES THE USER'S ACCOUNT at its own price; Wixzel sells no numbers and adds nothing. Only on a trunk with can_buy_numbers. Find the number with search_available_numbers first, then tell the user the number and its monthly_cost and upfront_cost in its currency, and buy only after they say yes. Pass the country and type you searched with. An approved regulatory bundle or compliance application already on the carrier account is attached automatically; if the carrier still refuses, relay its messa…
| Parameter | Type | Description |
|---|---|---|
country * | string | Two-letter country code you searched in, e.g. "IN". |
phone_number * | string | A number from search_available_numbers. |
sip_trunk_id * | string | A trunk with can_buy_numbers. See list_sip_trunks. |
type * | string | The type you searched for. |
idempotency_key | string | Idempotency-Key for safe retries. Generated automatically when omitted. Reuse the SAME value when retrying the SAME logical request; never reuse it for a different one. |
inbound_agent_id | string | Agent that answers inbound calls to the number. Also becomes its caller id if it has none. |
name | string | A label, e.g. "Main line". |
update_phone_number Update a phone number
Change a phone number's label, trunk or inbound agent. Only the fields you send are changed. Requires scope `phone_numbers:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
inbound_agent_id | string | |
name | string | |
phone_number | string | Phone number in E.164 form, e.g. "+14155551234". |
sip_trunk_id | string |
delete_phone_number Delete a phone number
Remove a phone number from the account. Agents using it as their outbound number can no longer place calls. Not reversible. Requires scope `phone_numbers:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
list_leads List leads
List leads (contacts). Filter by tag or free-text search. Cursor-paginated. Requires scope `leads:read`.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
limit | integer | Page size, 1–100. Default 20. |
search | string | Matches name or phone number. |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
tag | string |
get_lead Retrieve a lead
Fetch one lead by id. Requires scope `leads:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
create_lead Create a lead
Create one lead. For many at once use import_leads. Requires scope `leads:write`.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
phone_number * | string | Phone number in E.164 form, e.g. "+14155551234". |
fields | object | Arbitrary key/value data, usable as {{merge}} fields in prompts and opening messages. |
tags | array |
update_lead Update a lead
Change a lead. Only the fields you send are changed. Requires scope `leads:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
fields | object | Arbitrary key/value data, usable as {{merge}} fields in prompts and opening messages. |
name | string | |
phone_number | string | Phone number in E.164 form, e.g. "+14155551234". |
tags | array |
delete_lead Delete a lead
Permanently delete a lead. Not reversible. Requires scope `leads:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
import_leads Import many leads
Create up to 1,000 leads in one request. Rows are validated individually: malformed rows come back in errors with their index, and the rest are still created. Check failed_count in the result. Requires scope `leads:write`.
| Parameter | Type | Description |
|---|---|---|
leads * | array |
list_campaigns List campaigns
List outbound calling campaigns with their status (idle, scheduled, running, completed, stopped, paused) and lead_count. Requires scope `campaigns:read`.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
limit | integer | Page size, 1–100. Default 20. |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
get_campaign Retrieve a campaign
Fetch one campaign by id. Requires scope `campaigns:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
create_campaign Create a campaign
Create a campaign that will call every listed lead with an agent. Creating does NOT dial anyone: call start_campaign when the user is ready to spend. Without scheduled_at the campaign is ready to start immediately. Requires scope `campaigns:write`.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
lead_ids * | array | Lead ids from list_leads or import_leads. |
name * | string | |
scheduled_at | string | When to begin. Omit to start on demand. |
start_campaign Start a campaign
Begin calling every lead on the campaign. THIS SPENDS MONEY AND MAKES REAL PHONES RING, one call per lead: confirm with the user before calling it. Refused with insufficient_credits when the balance cannot cover the run. Requires scope `campaigns:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
pause_campaign Pause a campaign
Stop placing new calls and hang up any the campaign still has in flight. Requires scope `campaigns:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
delete_campaign Delete a campaign
Permanently delete a campaign. Pause it first if it is running. Not reversible. Requires scope `campaigns:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
list_knowledge_bases List knowledge bases
List knowledge bases. Attach one to an agent with knowledge_base_id on create_agent or update_agent. Requires scope `knowledge_bases:read`.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
limit | integer | Page size, 1–100. Default 20. |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
get_knowledge_base Retrieve a knowledge base
Fetch one knowledge base with its full content. Requires scope `knowledge_bases:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
create_knowledge_base Create a knowledge base
Create a knowledge base of facts and FAQs an agent can draw on during calls. Requires scope `knowledge_bases:write`.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
basic_info | string | Free text the agent should know: hours, address, pricing, policies. |
description | string | What this knowledge base covers, for your own reference. |
faqs | array | Question/answer pairs the agent can answer verbatim. |
other_info | string | Anything else, free text. |
source_url | string | The website the content came from, e.g. the source_url of an import_knowledge_base draft. |
import_knowledge_base Draft a knowledge base from a website
Read a business's website (home page and up to three linked pages) and return a draft knowledge base: basic_info, up to 15 faqs and other_info. Nothing is saved: show the draft to the user, fix what is wrong, then save it with create_knowledge_base (pass source_url along). Takes 10 to 60 seconds. Not charged; 5, then one a minute. Requires scope `knowledge_bases:write`.
| Parameter | Type | Description |
|---|---|---|
url * | string | The website to read, e.g. https://example.com |
import_knowledge_file Draft a knowledge base from a document
Fetch one document from a public link (PDF, DOCX, TXT, MD, CSV or HTML, up to 10 MB) and return a draft knowledge base: basic_info, faqs and other_info, like import_knowledge_base does for a website. Nothing is saved: show the draft to the user, then save it with create_knowledge_base. This tool cannot upload files; for a file on disk, use the dashboard or the SDKs. To make a long document searchable during calls instead, use add_knowledge_file. Requires scope `knowledge_bases:write`.
| Parameter | Type | Description |
|---|---|---|
url * | string | A public link to the document, e.g. https://example.com/menu.pdf |
list_knowledge_files List a knowledge base's files
The documents in a knowledge base, newest first, each with its status: processing, ready or failed (with the reason). Requires scope `knowledge_bases:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
add_knowledge_file Add a document to a knowledge base
Fetch a file from a public link and add it to a knowledge base: price lists, menus, manuals, policies. PDF, DOCX, TXT, MD, CSV or HTML, up to 10 MB; at most 20 documents per knowledge base. Images (JPEG, PNG, up to 5 MB) and videos (MP4, up to 16 MB) can be added too, for agents to send on WhatsApp; they need a description. It comes back processing and is usually ready within seconds (check with get_knowledge_file). Agents using this knowledge base then search it during calls with their built-in search_knowledge tool, and can send it on WhatsApp when their WhatsApp tools are on. This tool cann…
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
url * | string | A public link to the document, e.g. https://example.com/menu.pdf |
description | string | What it is or shows. Required for an image or video. |
name | string | What to call it. Defaults to the file name in the link. |
get_knowledge_file Retrieve a knowledge base file
Fetch one file's status, page count and how many passages agents can search. Requires scope `knowledge_bases:read`.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The file's id, from list_knowledge_files or add_knowledge_file. |
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
delete_knowledge_file Remove a knowledge base file
Remove a document from a knowledge base. Agents can no longer find what was in it. Not reversible. Requires scope `knowledge_bases:write`.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The file's id. |
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
update_knowledge_base Update a knowledge base
Change a knowledge base. Only the fields you send are changed. Sending faqs replaces the whole list. Requires scope `knowledge_bases:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
basic_info | string | Free text the agent should know: hours, address, pricing, policies. |
description | string | What this knowledge base covers, for your own reference. |
faqs | array | Question/answer pairs the agent can answer verbatim. |
name | string | |
other_info | string | Anything else, free text. |
source_url | string | The website the content came from, e.g. the source_url of an import_knowledge_base draft. |
delete_knowledge_base Delete a knowledge base
Permanently delete a knowledge base. Agents using it are left with none and answer without it. Not reversible. Requires scope `knowledge_bases:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
list_appointments List appointments
List appointments booked by agents or created directly, with status scheduled, completed or canceled. Requires scope `appointments:read`.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
limit | integer | Page size, 1–100. Default 20. |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
get_appointment Retrieve an appointment
Fetch one appointment by id. Requires scope `appointments:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
create_appointment Create an appointment
Book an appointment against a lead and agent. Requires scope `appointments:write`.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
date_time * | string | Start time, ISO 8601 UTC. |
lead_id * | string | |
phone_number * | string | Phone number in E.164 form, e.g. "+14155551234". |
client_name | string | |
duration_minutes | integer | |
notes | string |
update_appointment Update an appointment
Reschedule or annotate an appointment. Only the fields you send are changed. Requires scope `appointments:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
agent_id | string | |
client_name | string | |
date_time | string | ISO 8601 timestamp, UTC, e.g. "2026-09-01T12:00:00.000Z". |
duration_minutes | integer | |
lead_id | string | |
notes | string | |
phone_number | string | Phone number in E.164 form, e.g. "+14155551234". |
status | string |
delete_appointment Delete an appointment
Permanently delete an appointment. To cancel but keep the record, update its status to canceled instead. Not reversible. Requires scope `appointments:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
list_mcp_servers List MCP servers
List the MCP servers (connected apps) whose tools agents can use during calls, with each one's status and tools. Requires scope `mcp_servers:read`.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
limit | integer | Page size, 1–100. Default 20. |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
get_mcp_server Retrieve an MCP server
Fetch one MCP server: its status, last error, and every tool it offers with whether it is enabled. Requires scope `mcp_servers:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
create_mcp_server Connect an MCP server
Connect another app's remote MCP server so agents can look things up and make changes in it during calls. Its tools are read straight away; only read-only ones are enabled until you choose otherwise. For an OAuth server, follow with connect_mcp_server_oauth. Attach it to an agent with mcp_server_ids on update_agent. Requires scope `mcp_servers:write`.
| Parameter | Type | Description |
|---|---|---|
name * | string | The app's name as a caller would say it, e.g. "HubSpot". The agent is told this name. |
url * | string | The remote MCP endpoint, e.g. https://mcp.example.com/mcp. Must be public https (or http) on port 443 or 80. |
auth | object | How to authenticate to the server. Replaced as a whole when sent. |
enabled_tools | array | Names of the tools agents may call. Replaced as a whole. When never set, only tools the server marks read-only are enabled. |
transport | string | Leave as auto unless the server only speaks one. |
update_mcp_server Update an MCP server
Change an MCP server, or which of its tools agents may call. Only the fields you send are changed. Requires scope `mcp_servers:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
auth | object | How to authenticate to the server. Replaced as a whole when sent. |
enabled_tools | array | Names of the tools agents may call. Replaced as a whole. When never set, only tools the server marks read-only are enabled. |
name | string | The app's name as a caller would say it, e.g. "HubSpot". The agent is told this name. |
transport | string | Leave as auto unless the server only speaks one. |
url | string | The remote MCP endpoint, e.g. https://mcp.example.com/mcp. Must be public https (or http) on port 443 or 80. |
delete_mcp_server Delete an MCP server
Disconnect an MCP server. Every agent using it loses its tools. Not reversible. Requires scope `mcp_servers:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
refresh_mcp_server Refresh an MCP server
Reconnect to the server and read its tools again. The answer's status and last_error say whether it is reachable. Requires scope `mcp_servers:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
connect_mcp_server_oauth Sign in to an MCP server
Start signing in to an MCP server whose auth type is oauth. Give the user the authorization_url to open in their browser; once they sign in the server is connected. The link expires in ten minutes. Requires scope `mcp_servers:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
list_tools List tools
List the account's own tools (webhook and client) that agents can use during calls. Attach them with tool_ids on create_agent or update_agent. Requires scope `tools:read`.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
limit | integer | Page size, 1–100. Default 20. |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
get_tool Retrieve a tool
Fetch one tool with its parameters and settings. Header values are never returned. Requires scope `tools:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
create_tool Create a tool
Create an action an agent can take during a call. type webhook: the agent's arguments go to your endpoint and its answer comes back to the agent; works on phone and web calls. type client: the caller's app or website runs it (registered in the realtime SDK's tools option, or on the agent's mascot in the website widget); never offered on phone calls. Then attach it with tool_ids on update_agent. Test a webhook tool with test_tool. Requires scope `tools:write`.
| Parameter | Type | Description |
|---|---|---|
description * | string | What it does and when to use it, e.g. "Look up where an order is. Use it when the caller asks about a delivery." |
name * | string | What the agent calls it: letters, digits and underscores, starting with a letter, e.g. check_order_status. Unique in the account. |
type * | string | |
client | object | For type client. |
parameters | object | What the agent passes, as a JSON Schema object, e.g. {"type":"object","properties":{"order_id":{"type":"string","description":"The order number"}},"required":["order_id"]}. Describe each property: the… |
webhook | object | Required for type webhook. |
update_tool Update a tool
Change a tool. Only the fields you send change; the type cannot. Requires scope `tools:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
client | object | |
description | string | |
name | string | |
parameters | object | What the agent passes, as a JSON Schema object, e.g. {"type":"object","properties":{"order_id":{"type":"string","description":"The order number"}},"required":["order_id"]}. Describe each property: the… |
webhook | object |
delete_tool Delete a tool
Permanently delete a tool. Agents using it lose it. Not reversible. Requires scope `tools:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
test_tool Test a webhook tool
Run a webhook tool once with sample arguments and see what the agent would hear back: the status, the time and the answer. The request is signed exactly like a call's. Requires scope `tools:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
arguments | object | What the agent would pass. |
list_voices List cloned voices
List the account's cloned voices. Each one's provider_voice_id goes in an agent's voice.tts.voice, on one of the engines in its engines list. Requires scope `voices:read`.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
limit | integer | Page size, 1–100. Default 20. |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
get_voice Retrieve a cloned voice
Fetch one cloned voice: its provider, provider_voice_id, the engines that can speak in it, and the language of the recording. Requires scope `voices:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
preview_voice Hear a cloned voice
The cloned voice saying a short line, returned as mp3 audio for the user to play. Clients that cannot play audio only see a line of text saying a clip came back. Requires scope `voices:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
language | string | The language of the line, e.g. "hi-IN". Defaults to the language of the recording. |
create_voice_clone Clone a voice
Make a cloned voice from recordings of one person speaking. THIS SPENDS MONEY: a one-off fee ($1.00 on the hosted service) is taken from credit, and it is not refunded when the voice is deleted. Confirm with the user before calling it. Set consent to true only after the user has told you, in this conversation, that the voice is their own or that the speaker has given permission to clone it and use it on calls; never assume it. The recordings go in as audio_urls: public https links the API downloads once and does not keep. This tool cannot upload files; for a file on disk, use the dashboard or…
| Parameter | Type | Description |
|---|---|---|
audio_urls * | array | Public https links to the recordings. |
consent * | boolean | Must be true, and only once the user has confirmed the voice is theirs or the speaker has given permission. |
name * | string | A name the user will recognise, e.g. "Dr. Meera, front desk". |
description | string | |
language | string | The language spoken in the recording, e.g. "ml-IN". Required for sarvam. |
provider | string | Where the clone is made, which decides the engines it speaks on: elevenlabs for the classic and deepgram_agent engines, sarvam for the sarvam engine (the one for Indian languages). Default elevenlabs.… |
remove_background_noise | boolean | elevenlabs only. Cleans up a noisy recording; it can make a clean one worse. |
update_voice Update a cloned voice
Rename a cloned voice or change its description. Only the fields you send are changed. The voice itself stays as it is. Requires scope `voices:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
description | null clears it. | |
name | string |
delete_voice Delete a cloned voice
Delete a cloned voice, at the provider too. Not reversible, and the cloning fee is not refunded. Refused with voice_in_use while an agent speaks in it: give that agent another voice first. Requires scope `voices:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
list_whatsapp_accounts List WhatsApp numbers
List the WhatsApp business numbers connected to this account, with the agent answering each, its quality rating and whether its webhooks are arriving. Requires scope `whatsapp:read`.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
limit | integer | Page size, 1–100. Default 20. |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
get_whatsapp_account Retrieve a WhatsApp number
Fetch one connected WhatsApp number by id. Requires scope `whatsapp:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
create_whatsapp_account Connect a WhatsApp number
Connect a WhatsApp number from the user's own Meta app: its phone_number_id and waba_id (WhatsApp > API Setup), a permanent access token and the app secret. The easier path for most people is the console, where Connect WhatsApp opens Meta's own sign-up with no app needed; suggest that first. The result has webhook.url and a verify_token, shown once: tell the user to enter both in their Meta app under WhatsApp > Configuration and subscribe to the messages field. Set inbound_agent_id to have an agent answer the number. Requires scope `whatsapp:write`.
| Parameter | Type | Description |
|---|---|---|
access_token * | string | A permanent (system user) access token with whatsapp_business_messaging and whatsapp_business_management. |
app_secret * | string | The Meta app's secret, from App settings > Basic. Used to check webhooks come from Meta. |
phone_number_id * | string | The number's id from WhatsApp > API Setup. |
waba_id * | string | The WhatsApp Business Account id. |
inbound_agent_id | string | Agent that answers the number's chats. |
name | string | A label, e.g. "Front desk". |
update_whatsapp_account Update a WhatsApp number
Change which agent answers a WhatsApp number (inbound_agent_id, or null for none), its label, or how the agent behaves on it. Only the fields you send change. Requires scope `whatsapp:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
inbound_agent_id | The agent that answers, or null to stop answering. | |
name | string | |
settings | object |
delete_whatsapp_account Disconnect a WhatsApp number
Disconnect a WhatsApp number. Its chats, contacts and scheduled messages kept in Wixzel Voice are deleted; the number stays the user's in WhatsApp Manager. Not reversible: confirm with the user first. Requires scope `whatsapp:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
refresh_whatsapp_account Refresh a WhatsApp number
Read a WhatsApp number's name, quality rating and messaging limit from Meta again. Requires scope `whatsapp:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
list_whatsapp_templates List WhatsApp templates
List a WhatsApp number's message templates, as last synced. Templates are written and approved in WhatsApp Manager; only APPROVED ones can be sent, and they are the only messages allowed more than 24 hours after a person last wrote. Requires scope `whatsapp:read`.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The WhatsApp number. See list_whatsapp_accounts. |
status | string | e.g. APPROVED |
sync_whatsapp_templates Sync WhatsApp templates
Copy a WhatsApp number's templates from WhatsApp Manager now, after the user has created or edited one there. Requires scope `whatsapp:write`.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The WhatsApp number. |
create_whatsapp_template Create a WhatsApp template
Write a WhatsApp message template and submit it to Meta for review. It is PENDING until Meta approves it, usually within minutes; only approved templates can be sent. Number the values in the body {{1}}, {{2}}, ... and give one example value for each, in order. Use UTILITY for confirmations, reminders and updates, MARKETING for offers. Show the user the wording before submitting: Meta reviews it as written. Requires scope `whatsapp:write`.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The WhatsApp number whose account will own the template. |
body * | string | The message, up to 1024 characters, with {{1}}, {{2}}, ... for values. |
category * | string | |
name * | string | Lowercase letters, digits and underscores, e.g. visit_reminder. |
examples | array | One sample value per placeholder, in order. |
footer | string | Optional small last line, up to 60 characters. |
header | string | Optional bold first line, up to 60 characters, no placeholders. |
language | string | A WhatsApp language code; en_US if omitted. |
delete_whatsapp_template Delete a WhatsApp template
Delete one WhatsApp template from WhatsApp Manager and from Wixzel Voice. Agents that use it stop finding it. Confirm with the user first. Requires scope `whatsapp:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
send_whatsapp_message Send a WhatsApp message
Send one WhatsApp message from a connected number: text, a knowledge-base file (knowledge_file_id), or an approved template. Exactly one of the three. Text and files only work within 24 hours of the person's last message to that number; otherwise send a template. Set send_at to schedule it. This messages a real person and costs the WhatsApp message fee (Meta also bills template fees to the user's WhatsApp Manager payment method): confirm the recipient and the content with the user before sending. Requires scope `whatsapp:write`.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The number to send from. |
to * | string | The recipient, with country code, e.g. +14155550100. |
caption | string | |
idempotency_key | string | Idempotency-Key for safe retries. Generated automatically when omitted. Reuse the SAME value when retrying the SAME logical request; never reuse it for a different one. |
knowledge_file_id | string | A file from list_knowledge_files that was uploaded with its original kept. |
send_at | string | ISO 8601 time to send it, up to 30 days ahead. |
template | object | |
text | string |
list_whatsapp_conversations List WhatsApp conversations
List the WhatsApp chats agents have had, newest first, optionally for one number, one agent, or open or closed ones. Requires scope `whatsapp:read`.
| Parameter | Type | Description |
|---|---|---|
account_id | string | |
agent_id | string | |
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
limit | integer | Page size, 1–100. Default 20. |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
status | string |
get_whatsapp_conversation Read a WhatsApp conversation
Fetch one WhatsApp conversation with its messages, oldest first, including voice-note transcripts and what it cost. Requires scope `whatsapp:read`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
list_whatsapp_scheduled_messages List scheduled WhatsApp messages
List reminders, follow-ups and other WhatsApp messages scheduled to send later. Requires scope `whatsapp:read`.
| Parameter | Type | Description |
|---|---|---|
account_id | string | |
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
limit | integer | Page size, 1–100. Default 20. |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
status | string |
cancel_whatsapp_scheduled_message Cancel a scheduled WhatsApp message
Cancel a scheduled WhatsApp message that has not been sent yet. Requires scope `whatsapp:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
get_webhook Retrieve the webhook endpoint
Where events are sent for this account, whether delivery is on, and which events are subscribed. One endpoint per account, so there is nothing to list. The signing secret is never returned — only whether one is set. Requires scope `webhooks:read`.
update_webhook Update the webhook endpoint
Set the URL, turn delivery on or off, or change the event subscription. Only the fields you send change, EXCEPT events, which replaces the subscription entirely — send the full list you want, not a delta. The URL must be publicly resolvable; one pointing at loopback or a private network is refused. Enabling with no URL set is refused rather than silently saved. Requires scope `webhooks:write`.
| Parameter | Type | Description |
|---|---|---|
enabled | boolean | Master switch. False sends nothing regardless of the event list. |
events | array | The complete set of events to receive. |
url | string | HTTPS endpoint we POST events to. |
rotate_webhook_secret Rotate the webhook signing secret
Mint a new signing secret and return it ONCE. The old secret stops verifying immediately, so a receiver that checks signatures will reject every event until it has been redeployed with the new one. Do this when a secret has leaked, not as routine maintenance, and hand the value to the user right away. Requires scope `webhooks:write`.
test_webhook Send a test webhook event
POST one sample payload to the configured URL right now and report what came back. This is how to check a webhook works BEFORE enabling it: it deliberately ignores the enabled flag and the event subscription. It reaches a real third-party endpoint but spends no credit. The payload is obviously fake sample data. Requires scope `webhooks:write`.
| Parameter | Type | Description |
|---|---|---|
event * | string | An event id. These are camelCase because they are the literal `event` field of the JSON we POST, not API fields. |
list_webhook_deliveries List webhook delivery attempts
What was sent and what came back, newest first — the answer to "did my webhook fire?". One record per attempt, so an event delivered on its third try appears three times. A null response_status means nothing answered at all (DNS, refused connection, timeout), which is what tells a wrong URL apart from a handler that threw. Filter with status: "failed" to see only what broke. Requires scope `webhooks:read`.
| Parameter | Type | Description |
|---|---|---|
end | string | Only attempts at or before this time. |
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
event | string | An event id. These are camelCase because they are the literal `event` field of the JSON we POST, not API fields. |
limit | integer | Page size, 1–100. Default 20. |
start | string | Only attempts at or after this time. |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
status | string | Filter by outcome. |
get_balance Retrieve the balance
The account's prepaid credit: balance_micros, held_micros (reserved by live calls) and available_micros. Micro-USD: 1,000,000 = $1.00. Check this before placing calls or starting campaigns. Requires scope `billing:read`.
list_ledger_entries List ledger entries
Every movement on the account (topup, usage, refund, adjustment, promo, overage, chargeback), with balance_after_micros. Balances reconcile exactly. Requires scope `billing:read`.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
limit | integer | Page size, 1–100. Default 20. |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
create_topup Add credit
Start a top-up. Returns a checkout_url that a HUMAN must open to pay; credit lands once payment settles, not when this returns. Never open the URL or attempt payment yourself. Confirm the amount with the user first. Requires scope `billing:write`.
| Parameter | Type | Description |
|---|---|---|
amount_usd * | number | Amount to add, in US dollars. |
idempotency_key | string | Idempotency-Key for safe retries. Generated automatically when omitted. Reuse the SAME value when retrying the SAME logical request; never reuse it for a different one. |
return_url | string | Where to send the customer after checkout. |
get_usage_summary Summarise usage
Total spend over a period, broken down by component, provider and model. total_micros is micro-USD; total_display is human-readable. Requires scope `usage:read`.
| Parameter | Type | Description |
|---|---|---|
end | string | Period end. Defaults to now. |
start | string | Period start. Defaults to the start of the current month. |
list_usage_events List usage events
Every billable line, itemised. Filter by session_id (from a call record) to see exactly what one call cost and why: the sum of a call's events equals what was debited. Requires scope `usage:read`.
| Parameter | Type | Description |
|---|---|---|
component | string | |
end | string | ISO 8601 timestamp, UTC, e.g. "2026-09-01T12:00:00.000Z". |
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
limit | integer | Page size, 1–100. Default 20. |
session_id | string | The call's session_id (not its id). |
start | string | ISO 8601 timestamp, UTC, e.g. "2026-09-01T12:00:00.000Z". |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
list_api_keys List API keys
List the account's API keys with their scopes, spend limits and last use. Secrets are never returned, only a prefix and last four characters. Requires scope `api_keys:read`.
| Parameter | Type | Description |
|---|---|---|
ending_before | string | Cursor from a previous response. Fetches the page before it. Not with starting_after. |
limit | integer | Page size, 1–100. Default 20. |
starting_after | string | Cursor from a previous response's next_cursor. Fetches the page after it. |
create_api_key Create an API key
Mint a new scoped key. The secret is returned ONCE in the result and cannot be retrieved again: hand it to the user immediately and do not log it elsewhere. A key cannot grant scopes the calling key does not hold (scope_escalation). Grant only what the integration needs; billing:write authorises spending money. Requires scope `api_keys:write`.
| Parameter | Type | Description |
|---|---|---|
name * | string | For the user's reference, e.g. "production backend". |
scopes * | array | No wildcard; agents:write does not imply agents:read. |
expires_at | string | ISO 8601 timestamp, UTC, e.g. "2026-09-01T12:00:00.000Z". |
spend_limit_micros | integer | Guardrail in micro-USD, enforced within about a minute. Not a hard cap. |
rotate_api_key Rotate an API key
Issue a replacement secret. The old key keeps working for 24 hours so a deploy can roll over without a gap. The new secret is returned once; hand it to the user immediately. Requires scope `api_keys:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |
revoke_api_key Revoke an API key
Revoke immediately, with no grace period. Anything still using it starts failing at once, including this MCP server if it is the key in use. Not reversible. Requires scope `api_keys:write`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The record id, e.g. "6a96a3ead6e886d42462dd3e". |