Creates an Application with webhook URLs for call handling. Creating an application is usually a first step, after which you attach the application to either a number or an endpoint.
curl --request POST \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Application/ \
--header 'Content-Type: application/json' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"app_name": "My Voice Application",
"answer_url": "https://example.com/answer",
"answer_method": "POST"
}
'{
"api_id": "aabbccdd-1234-5678-90ab-cdef12345678",
"app_id": "12345678901234567",
"message": "created"
}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}/Application/
X-Auth-ID - Your account Auth IDX-Auth-Token - Your account Auth TokenContent-Type: application/json| Field | Type | Required | Description |
|---|---|---|---|
answer_url | string | Yes | The URL fetched when a call executes this application. |
app_name | string | Yes | The name of your application. Allowed values: letters (upper and lower case), numbers (0–9), and only two special characters: - (hyphen) and _ (underscore). |
answer_method | string | No | HTTP method used to call answer_url. Defaults to POST. |
hangup_url | string | No | URL notified when the call hangs up. Defaults to answer_url. |
hangup_method | string | No | HTTP method used to call hangup_url. Defaults to POST. |
fallback_answer_url | string | No | Invoked by Vobiz only if answer_url is unavailable or the XML response is invalid. Must return a valid XML response. |
fallback_method | string | No | HTTP method used to call fallback_answer_url. Defaults to POST. |
message_url | string | No | URL notified when an inbound message is received. Not set by default. |
message_method | string | No | HTTP method used to call message_url. Defaults to POST. |
default_number_app | boolean | No | If true, newly created numbers without an app_id are routed to this application. |
default_endpoint_app | boolean | No | If true, newly created endpoints without an app_id are routed to this application. |
subaccount | string | No | ID of the subaccount that this application is associated with. |
application_type | string | No | The type of application (e.g., “voice”, “messaging”). |
default_app | boolean | No | Whether this is the default application for the account. |
enabled | boolean | No | Whether the application is enabled. Defaults to true. |
log_incoming_messages | boolean | No | If false, incoming messages to Vobiz phone numbers associated with this application are not logged. Defaults to true. |
public_uri | boolean | No | Whether the application has a public URI. |
sip_transfer_method | string | No | HTTP method used for SIP transfer callbacks. |
sip_transfer_url | string | No | URL notified during a SIP transfer. |
sip_uri | string | No | SIP URI associated with the application. |
{
"app_name": "My Voice App",
"answer_url": "https://example.com/answer",
"answer_method": "POST",
"hangup_url": "https://example.com/hangup",
"hangup_method": "POST",
"fallback_answer_url": "https://example.com/fallback",
"fallback_method": "POST",
"message_url": "https://example.com/message",
"message_method": "POST",
"default_number_app": false,
"default_endpoint_app": false,
"sub_account": null
}
{
"api_id": "aabbccdd-1234-5678-90ab-cdef12345678",
"app_id": "12345678901234567",
"message": "created"
}
curl -X POST https://api.vobiz.ai/api/v1/Account/{auth_id}/Application/ \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"app_name": "My IVR System",
"answer_url": "https://myapp.com/ivr/answer",
"answer_method": "POST"
}'
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}/Application/ \
--header 'Content-Type: application/json' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"app_name": "My Voice Application",
"answer_url": "https://example.com/answer",
"answer_method": "POST"
}
'{
"api_id": "aabbccdd-1234-5678-90ab-cdef12345678",
"app_id": "12345678901234567",
"message": "created"
}