Documentation Index
Fetch the complete documentation index at: https://docs.vobiz.ai/llms.txt
Use this file to discover all available pages before exploring further.
Event-Driven ArchitectureVobiz XML uses an event-driven model. When call events occur (incoming call, DTMF pressed, recording complete), Vobiz sends HTTP requests to your configured URLs and executes the XML you return. This lets you build dynamic, data-driven call flows.
Request-response flow
The basic cycle
Call Event Triggers
An incoming call arrives, an outbound call connects, a user presses a DTMF key, a recording finishes, or any other call event occurs.
Vobiz Sends Webhook
Vobiz makes an HTTP POST (or GET) request to your Answer URL or Action URL with call details: CallUUID, From, To, Direction, DTMF digits, RecordingURL, etc.
Your Server Generates XML
Your application processes the webhook data (look up customer in database, check business rules, etc.) and returns XML instructions in the HTTP response body.
Vobiz Executes XML
Vobiz parses your XML and executes each element in order: plays audio, collects input, dials numbers, records audio, etc.
Webhook lifecycle
Answer URL (inbound calls)
When an incoming call arrives at your Vobiz phone number, Vobiz requests XML from the Answer URL configured in your application settings.Action URLs (subsequent events)
XML elements like Gather, Record, and Dial can specify action URLs. After the action completes, Vobiz requests new XML from that URL with event-specific parameters.Hangup URL (call end)
When the call ends (hangup, timeout, network issue), Vobiz sends a final webhook to your Hangup URL with call duration, end reason, and other metadata. This is used for logging and billing - no XML response is expected.Complete example flow
Step 1: incoming call (answer URL)
A customer calls your Vobiz number. Vobiz sends a webhook to your Answer URL:Webhook Request to Answer URL
Your XML Response
Step 2: user presses “1” (action URL)
Vobiz collects the digit and sends a webhook to the action URL:Webhook Request to Action URL
Your XML Response
Step 3: call connects or fails
If the Dial succeeds, the calls are bridged. When one party hangs up, Vobiz sends a webhook to the Dial action URL with the result, then to your Hangup URL when the call fully ends.Key takeaways
XML is Stateless
Each webhook is independent. Vobiz does not maintain call flow state - your application must track the conversation using
CallUUID and database lookups.Webhooks Must Respond Fast
Your server should return XML within 1–2 seconds. Slow responses cause dead air for callers. Do heavy processing asynchronously and cache data when possible.
Chain Actions Together
Use action URLs to build multi-step flows: collect input, validate, transfer, record, send notification. Each step is a separate webhook-XML cycle.
Always Have a Fallback
If input collection times out or a Dial fails, provide fallback XML (retry, leave voicemail, or hang up gracefully). Never leave calls in an undefined state.