Initiate an outbound call to a PSTN number or SIP endpoint.
Use < to separate multiple destinations (max 1000).
curl --request POST \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Call/ \
--header 'Content-Type: application/json' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"from": "14155551234",
"to": "+919876543210",
"answer_url": "https://example.com/answer",
"answer_method": "POST"
}
'{
"api_id": "5a9fcfee-3d4c-11ef-bef9-0242ac110005",
"request_uuid": "5a9fd4a0-3d4c-11ef-bef9-0242ac110005",
"message": "Call fired"
}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.
POST https://api.vobiz.ai/api/v1/Account/{auth_id}/Call/
X-Auth-ID - Your account Auth IDX-Auth-Token - Your account Auth TokenContent-Type: application/json< to separate multiple destinations (max 1000). Example: 14157654321<14153464321<sip:john1234@api.vobiz.ai| Field | Type | Required | Description |
|---|---|---|---|
from | string | Yes | The caller ID phone number in E.164 format (e.g., 14157654321). |
to | string | Yes | Destination number(s) or SIP URI(s). Use < to separate multiple destinations (max 1000). Examples: 14157654321, sip:john1234@api.vobiz.ai |
answer_url | string | Yes | URL called when the call is answered. Must return valid XML. |
| Field | Type | Required | Description |
|---|---|---|---|
answer_method | string | No | HTTP verb for answer_url. Default is POST. |
ring_url | string | No | Optional URL notified when the call starts ringing. |
ring_method | string | No | HTTP verb for ring_url. Default is POST. |
hangup_url | string | No | Optional URL notified when the call is hung up. |
hangup_method | string | No | HTTP verb for hangup_url. Default is POST. |
fallback_url | string | No | Invoked if answer_url fails after 3 retries or 60s timeout. |
fallback_method | string | No | HTTP verb for fallback_url. Default is POST. |
| Field | Type | Required | Description |
|---|---|---|---|
machine_detection | string | No | Detect machine on answer. Values: true, hangup. |
machine_detection_time | integer | No | Time in ms to detect machine. Default: 5000. Allowed: 2000–10000. |
machine_detection_url | string | No | Callback URL for asynchronous machine detection. |
machine_detection_method | string | No | HTTP verb for machine_detection_url. Default: POST. |
machine_detection_maximum_speech_length | integer | No | Max speech duration in ms. Default: 5000. Allowed: 1000–6000. |
machine_detection_initial_silence | integer | No | Max silence after answer (ms). Default: 4500. Allowed: 2000–10000. |
machine_detection_maximum_words | integer | No | Max number of sentences. Default: 3. Allowed: 2–10. |
machine_detection_initial_greeting | integer | No | Max greeting length (ms). Default: 1500. Allowed: 1000–5000. |
| Field | Type | Required | Description |
|---|---|---|---|
caller_name | string | No | Sets caller name (up to 50 characters). Defaults to caller’s name. |
send_digits | string | No | DTMF digits to send after the call connects. Use w (0.5s wait) or W (1s wait). Example: 1w2W3 or 123@1000 (1000ms tone). |
send_on_preanswer | boolean | No | If true, sends send_digits during pre-answer. Default: false. |
time_limit | integer | No | Max duration of call in seconds (after answered). Default: 14400 (4 hours). Calls ≥ 86400s are disconnected at 24h. |
hangup_on_ring | integer | No | Max duration (in seconds) from start of ringing to hangup. |
{
"from": "14155551234",
"to": "14155555678",
"answer_url": "https://example.com/answer",
"answer_method": "POST",
"ring_timeout": "30",
"time_limit": "3600",
"hangup_url": "https://example.com/hangup",
"hangup_method": "POST",
"caller_name": "John Doe",
"machine_detection": "false"
}
{
"api_id": "97ceeb52-58b6-11e1-86da-77300b68f8bb",
"message": "call fired",
"request_uuid": "9834029e-58b6-11e1-b8b7-a5bd0e4e126f"
}
call_uuid (also referred to as request_uuid) is the unique identifier for the call. Both are equivalent and can be used interchangeably.| Field | Type | Description |
|---|---|---|
From | string | Caller ID number used to initiate the call. |
To | string | The destination being called. |
RequestUUID | string | Unique identifier for the call request. |
ALegRequestUUID | string | Identifier for the first leg of the call (multi-leg calls). |
CallUUID | string | Unique identifier for the call. |
Direction | string | Direction of the call. Always "outbound". |
Event | string | Event that triggered this notification. Always "Ring". |
CallStatus | string | Status of the call. Always "ringing". |
SessionStart | string | Timestamp when early media started. Format: YYYY-MM-DD HH:mm:ss.sssss UTC. |
STIRAttestation | string | Attestation details assigned to the call by Vobiz. |
| Field | Type | Description |
|---|---|---|
From | string | Caller ID number used to initiate the call. |
To | string | The destination being called. |
CallerName | string | Caller display name, present when the call originates from a SIP endpoint. |
RequestUUID | string | Unique identifier for the call request. |
ALegRequestUUID | string | Identifier for the first leg of the call (multi-leg calls). |
CallUUID | string | Unique identifier for the call. |
Direction | string | Direction of the call. Always "outbound". |
ALegUUID | string | Unique identifier for the A leg of the call. |
Event | string | Event that triggered this notification. Always "StartApp". |
STIRVerification | string | Attestation details. Possible values: Verified, Not Verified, Not Applicable. |
CallStatus | string | Status of the call. Always "in-progress". |
SessionStart | string | Timestamp when early media started. Format: YYYY-MM-DD HH:mm:ss.sssss UTC. |
STIRAttestation | string | Attestation details assigned to the call by Vobiz. |
| Field | Type | Description |
|---|---|---|
From | string | Caller ID number used to initiate the call. |
To | string | The destination being called. |
RequestUUID | string | Unique identifier for the call request. |
ALegRequestUUID | string | Identifier for the first leg of the call (multi-leg calls). |
CallUUID | string | Unique identifier for the call. |
Direction | string | Direction of the call. Always "outbound". |
ALegUUID | string | Unique identifier for the A leg of the call. |
Event | string | Event that triggered this notification. Always "Hangup". |
stir_verification | string | Attestation details. Possible values: Verified, Not Verified, Not Applicable. |
CallStatus | string | Status of the call. Always "completed". |
StartTime | string | Timestamp when the call was initiated. Format: yyyy-MM-dd HH:mm:ss (local time). |
AnswerTime | string | Timestamp when the call was answered. Format: yyyy-MM-dd HH:mm:ss (local time). |
SessionStart | string | Timestamp when early media started. Format: YYYY-MM-DD HH:mm:ss.sssss UTC. |
EndTime | string | Timestamp when the call ended. Format: yyyy-MM-dd HH:mm:ss (local time). |
STIRAttestation | string | Attestation details assigned to the call by Vobiz. |
Your Vobiz account Auth ID
Your Vobiz account Auth Token
Your account Auth ID
"MA_XXXXXX"
Was this page helpful?
curl --request POST \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Call/ \
--header 'Content-Type: application/json' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"from": "14155551234",
"to": "+919876543210",
"answer_url": "https://example.com/answer",
"answer_method": "POST"
}
'{
"api_id": "5a9fcfee-3d4c-11ef-bef9-0242ac110005",
"request_uuid": "5a9fd4a0-3d4c-11ef-bef9-0242ac110005",
"message": "Call fired"
}