Update voice application
update_applicationModify selected fields of an existing Vobiz voice application—name, webhook URLs, methods, or default-app flags—while keeping app_id and sub_account unchanged.
Instructions
Change selected fields of an existing Vobiz voice application (name, webhook URLs and methods, default-app flags). Only the fields you pass change; app_id and sub_account cannot change. Vobiz resets default_endpoint_app to false whenever it is omitted, so this tool reads the current value and re-sends it. New URLs must be https on an approved host (VOBIZ_ALLOWED_URL_HOSTS). Use create_application for a new application and update_phone_number to change which application a number uses. An unknown app_id raises not_found. Gated by VOBIZ_ENABLE_PROVISIONING and confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | Numeric Vobiz application ID (5-25 digits): the app_id returned by list_applications or create_application. | |
| confirm | Yes | Must be true, set only after the user explicitly approved: changing this application. If your client supports MCP elicitation, the server asks the user to approve directly and this flag is not relied on; otherwise it is your attestation that the user approved. | |
| app_name | No | Application name, 1-120 characters: letters, digits, - and _ only (Vobiz rejects other characters). | |
| answer_url | No | URL Vobiz fetches for VobizXML when a call reaches a number or SIP endpoint linked to this application. Must be https on an approved host (VOBIZ_ALLOWED_URL_HOSTS) and answer within 10 seconds. | |
| hangup_url | No | URL Vobiz notifies when a call on this application ends (CallUUID, CallStatus, Duration, HangupCause). Omitted at creation, it defaults to answer_url. Must be https on an approved host. | |
| answer_method | No | HTTP method used to fetch answer_url: GET or POST (Vobiz default POST). | |
| hangup_method | No | HTTP method for hangup_url: GET or POST (Vobiz default POST). | |
| fallback_method | No | HTTP method for fallback_answer_url: GET or POST (Vobiz default POST). | |
| default_number_app | No | true makes this the application for newly bought numbers that have none (Vobiz default false). Existing numbers are not re-routed. | |
| fallback_answer_url | No | Fetched only when answer_url is unreachable, times out or returns invalid VobizXML; must itself return VobizXML. Without one the call drops on answer_url failure. Must be https on an approved host. | |
| default_endpoint_app | No | true makes this the application for newly created SIP endpoints that have none; false clears that. Omitted, the current value is re-sent (Vobiz would otherwise reset it to false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | True on success. On a failure the result is isError with ok: false plus `error` (kind), `message`, `retryable` and sometimes `http_status`. | |
| app_id | No | The application that was changed. | |
| updated | No | True when the change was applied by this call. | |
| http_status | No | HTTP status Vobiz answered with. | |
| backend_message | No | Status message from Vobiz (e.g. 'created' or 'changed'), when it sent one. |