Applications
Update an Application
Update an existing Vobiz voice application - modify webhook URLs, HTTP methods, app name, or SIP URI to change how inbound calls and messages are routed.
POST
Update an Application
Authentication required:
X-Auth-ID- Your account Auth IDX-Auth-Token- Your account Auth TokenContent-Type: application/json
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
app_name | string | No | New name for the application. Letters, numbers, -, and _ only. |
answer_url | string | No | The URL invoked when a call executes this application. Must return valid VobizXML. |
answer_method | string | No | HTTP method used to call answer_url. One of GET or POST. 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. One of GET or POST. Defaults to POST. |
fallback_answer_url | string | No | Invoked by Vobiz only if answer_url is unreachable, times out, or returns invalid VobizXML. Must itself return valid VobizXML. |
fallback_method | string | No | HTTP method used to call fallback_answer_url. One of GET or POST. 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. One of GET or POST. Defaults to POST. |
default_number_app | boolean | No | If true, associates all newly created Vobiz numbers without an app_id to this application. Does not re-route existing numbers. |
default_endpoint_app | boolean | No | If true, associates all newly created Vobiz endpoints without an application to this application. Does not re-route existing endpoints. |
application_type | string | No | The type of application. Typically XML. |
default_app | boolean | No | Whether this is the account-level default application. |
enabled | boolean | No | Whether the application is enabled. |
log_incoming_message | boolean | No | Controls whether incoming messages to phone numbers associated with this application are logged. |
public_uri | boolean | No | Whether the application’s sip_uri is reachable by external SIP systems. |
sip_transfer_method | string | No | HTTP method used for SIP transfer callbacks. One of GET or POST. |
sip_transfer_url | string | No | URL notified during a SIP transfer. |
sip_uri | string | No | SIP URI associated with the application. |
Every field is optional; send only what you want to change.
sub_account is set at creation and cannot be modified here.Request Body
JSON
Response Examples
cURL Example
cURL
Authorizations
Your Vobiz account Auth ID
Your Vobiz account Auth Token
Path Parameters
Your account Auth ID
Example:
"MA_XXXXXX"
Example:
"12345678"