Vobiz Voice Calls skill
Use this when the user wants to dial out, control an active call, or look up a live call. For completed-call history, prefer the vobiz-cdr skill.
What you can do
- Make a call -
POST /api/v1/Account/{auth_id}/Call/with{from, to, answer_url, answer_method}. Returnsrequest_uuid(same value ascall_uuid) andmessage: "Call fired". - List live calls -
GET /api/v1/Account/{auth_id}/Call?status=livereturns an array of call UUIDs.GET /api/v1/Account/{auth_id}/Call/?status=queuedlists queued (not yet connected) calls, max 20 per request. - Get one live call -
GET /api/v1/Account/{auth_id}/Call/{call_uuid}?status=live(or?status=queuedfor a pending call). - Hangup a call -
DELETE /api/v1/Account/{auth_id}/Call/{call_uuid}returns204. Also cancels a queued call. - Mid-call actions - play audio, speak TTS, send DTMF, start/stop recording, start audio stream. Each is a
POSTto/Call/{call_uuid}/Play/,/Speak/,/DTMF/,/Record/,/Stream/(trailing slash). - Machine detection - outbound calls support synchronous (
machine_detection=true|hangup) and async (machine_detection_url) answering-machine detection with tunable timers. Seecall/machine-detection.
Required inputs
from: a Vobiz number you own (or a verified caller-ID), E.164.to: E.164 format (+91...) or a SIP URI. Use<(not a comma) to bulk-dial up to 1000 destinations in one request (e.g.14157654321<14153464321<sip:agent@api.vobiz.ai).answer_url: HTTPS endpoint that returns VobizXML when the callee answers.answer_method: HTTP verb foranswer_url. The make-call schema lists it as required alongsidefrom/to/answer_url; default toPOST.- Optional lifecycle webhooks (callbacks) on the same request:
ring_url,hangup_url,fallback_url(+_methodfor each), plustime_limit(seconds, default 14400),caller_name,send_digits. These extra params are documented incall/make-callbut not in the OpenAPI request schema.
Leg and casing semantics (memorize these)
legs/legselects who an in-call action hits:aleg= caller (the A-leg, yourfromside),bleg= callee,both= everyone. Default isalegeverywhere.- Play and Speak use the plural field
legs(aleg/bleg/both). DTMF uses the singular fieldleg(aleg/bleg/both). Transfer uses the plurallegs. request_uuidandcall_uuidare the same identifier returned by make-call; use either.- The base host is
https://api.vobiz.ai; every path is prefixed with/api/v1.
Pitfalls
- Path casing matters:
/Account/.../Call/(uppercaseAccount, uppercaseCall) for call ops. Lowercase paths (/account/.../call/) return 401. - Trailing slash matters and the two list routes differ by it in the OpenAPI spec:
GET /Call?status=livelists live calls;GET /Call/?status=queuedlists queued calls.POST /Call/(with slash) makes a call. When in doubt, copy the exact path from the matching doc page and always passstatusexplicitly. statusis a required query param on every retrieve endpoint (liveorqueued). Omitting it returns the finalized CDR or a 404, not the live record.- A
200from make-call means the call was accepted and queued, not answered - watchring_url/answer_url. Theanswer_urlrequest arrives withEvent=StartApp(notAnswer);hangup_urlgetsEvent=HangupwithCallStatus=completed. - Transfer is documented in
call/transfer-callasPOST /Call/{call_uuid}/and is not inopenapi.yaml(the spec only definesGETon that path for retrieve-queued). Body:legs(aleg|bleg|both, defaultaleg),aleg_url/aleg_method,bleg_url/bleg_method; the URLs must return VobizXML. Returns202. The call must bein-progress; queued or ended calls return404. In transfer XML that dials PSTN, set<Dial callerId>to a Vobiz number your account owns. - Conferences are created on join via XML, not via REST. There is no "create conference" POST - a caller enters a
<Conference>NAME</Conference>room and Vobiz auto-creates it. The REST Conference endpoints inspect/control existing rooms. - Conference member IDs come from the
<Conference callbackUrl>entercallback (ConferenceMemberID); capture them there rather than relying onGET /Conference/{name}/.member_idaccepts a single id, a comma-separated list (10,15,22), orall. Member Mute/Deaf/Kick/Play return202withmember_idas an array; Unmute/Undeaf/Stop/hang-up return204. Conference names with spaces must be URL-encoded (My%20Conf%20Room); names are case-sensitive. - Play
urls, Speaktext, member Playurlare required; sending them empty fails with400. Audio must be public.mp3/.wavover HTTP(S). Playurlstakes a comma-separated string for sequential files. - REST
Record/defaultstime_limitto 60 s - raise it for long calls.file_formatismp3|wav(defaultmp3);record_channel_typeismono|stereo. EachPOSTstarts a separate recording with its ownrecording_id. - Stop actions are idempotent: stopping play/speak/recording when nothing is active still returns success (204). Hangup and conference deletes are destructive and not reversible.
- A real call costs money and can fail for 402 (insufficient balance) or be throttled by 429 (CPS/concurrency limit). In sandbox/test work, place at most one short call per scenario.
Flow recipes
- Outbound call + answer flow:
POST /Call/with{from,to,answer_url,answer_method}→ returnsrequest_uuidandmessage: "Call fired". On answer, Vobiz POSTs the standard call params (CallUUID,From,To,Direction,CallStatus=in-progress,Event=StartApp) toanswer_url; reply with VobizXML. Configurering_url/hangup_urlfor lifecycle webhooks (seecall/make-call). - Voicemail handling: add
machine_detection=true|hangup(+ optionalmachine_detection_urlfor async). On async, Vobiz POSTsMachine: true/falseandEvent=MachineDetectionto your URL while the call continues - branch on it. Keep an AI agent silent until the result arrives (seecall/machine-detection). - Mid-call control: retrieve the live
call_uuid, thenPOST /Call/{call_uuid}/Play|Speak|DTMF|Record/. Picklegs/legto target a side. Stop Play/Speak/Record with the matchingDELETE. - Warm transfer:
POST /Call/{call_uuid}/withlegs=aleg+aleg_urlto send the caller to hold/another flow while you set up the callee, then transfer with new XML. The transfer target receivesEvent=Transfer. - Conference moderation: caller joins via
<Conference callbackUrl="...">XML → storeConferenceMemberIDfrom theentercallback →Mute/Deaf/Kick/Playper member (orall) → record with a per-leg<Record recordSession="true" redirect="false"/>placed before<Conference>→DELETE /Conference/{name}/to end.
When to search docs
- "How do I make a call from Python?" → search
call/make-call - "What does the answer URL receive?" → search
xml/request - "How do I detect voicemail?" → search
call/machine-detection - "How do I record a call?" → search
call/record-calls - "How do I transfer or redirect a live call?" → search
call/transfer-call - "How do I mute/kick a conference participant?" → search
conference/members - "How are conferences created?" → search
xml/conference