Modify an application using this API. You can update any subset of fields (partial update). Fields not provided will remain unchanged.
curl --request POST \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Application/{app_id}/ \
--header 'Content-Type: application/json' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"app_name": "Updated Application Name",
"default_number_app": true
}
'{
"api_id": "11223344-5566-7788-99aa-bbccddeeff00",
"message": "changed"
}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/{app_id}/
X-Auth-ID - Your account Auth IDX-Auth-Token - Your account Auth TokenContent-Type: application/jsonsub_account cannot be changed after creation| Field | Type | Required | Description |
|---|---|---|---|
answer_url | string | No | The URL invoked when a call executes this application. |
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. |
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. |
fallback_method | string | No | HTTP method used to call fallback_answer_url. Defaults to POST. |
message_url | string | No | URL notified by Vobiz when an inbound message is received. |
message_method | string | No | HTTP method used to call message_url. Defaults to POST. |
default_number_app | boolean | No | If true, associates all newly created Vobiz numbers without an app_id to this application. |
default_endpoint_app | boolean | No | If true, associates all newly created Vobiz endpoints without an app_id to this application. |
subaccount | string | No | ID of the subaccount associated with this application. |
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. |
log_incoming_messages | boolean | No | Controls whether incoming messages to phone numbers associated with this application are logged in Vobiz systems. |
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
}
{
"api_id": "aabbccdd-1234-5678-90ab-cdef12345678",
"message": "changed"
}
curl -X POST https://api.vobiz.ai/api/v1/Account/{auth_id}/Application/12345678901234567/ \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"app_name": "My Voice App (renamed)",
"default_number_app": true
}'
Your Vobiz account Auth ID
Your Vobiz account Auth Token
Your account Auth ID
"MA_XXXXXX"
"12345678"
Was this page helpful?
curl --request POST \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Application/{app_id}/ \
--header 'Content-Type: application/json' \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"app_name": "Updated Application Name",
"default_number_app": true
}
'{
"api_id": "11223344-5566-7788-99aa-bbccddeeff00",
"message": "changed"
}