Skip to content

The Application Object

The Application object contains all configuration for call and message handling, including URL endpoints and HTTP methods.

Attributes

Application Attributes

ParameterTypeDescription
app_idoptional
stringUnique identifier for the application.
app_nameoptional
stringName of the application.
answer_urloptional
stringURL called when call is answered. Vobiz requests this URL for valid Vobiz XML elements to control call flow.
answer_methodoptional
stringHTTP method for answer_url (GET or POST).
hangup_urloptional
stringURL called when call ends. Useful for call analytics and cleanup operations.
hangup_methodoptional
stringHTTP method for hangup_url (GET or POST).
fallback_answer_urloptional
stringBackup URL if answer_url fails or returns invalid XML.
fallback_methodoptional
stringHTTP method for fallback URL (GET or POST).
message_urloptional
stringURL for SMS message callbacks. Vobiz expects HTTP 200 status code.
message_methodoptional
stringHTTP method for message_url (GET or POST).
default_number_appoptional
booleanDefault app for phone numbers. If true, newly created numbers without app_id use this application.
default_endpoint_appoptional
booleanDefault app for SIP endpoints. If true, newly created endpoints without app_id use this application.
sub_accountoptional
stringSub-account auth_id (null for main account).
resource_urioptional
stringAPI resource URI.
application_typeoptional
stringThe type of application (e.g., "voice", "messaging").
default_appoptional
booleanWhether this is the default application for the account.
enabledoptional
booleanWhether the application is enabled.
log_incoming_messageoptional
booleanWhether incoming messages are logged.
public_urioptional
booleanWhether the application has a public URI.
sip_transfer_methodoptional
stringHTTP method used for SIP transfer callbacks.
sip_transfer_urloptional
stringURL notified during a SIP transfer.
sip_urioptional
stringSIP URI associated with the application.
created_atoptional
string (ISO 8601)Creation timestamp.
updated_atoptional
string (ISO 8601)Last update timestamp.

Example Application Object

JSON
{
  "api_id": "{api_id}",
  "app_id": "12345678",
  "app_name": "My Voice Application",
  "application_type": "voice",
  "enabled": true,
  "default_app": false,
  "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",
  "log_incoming_message": true,
  "public_uri": false,
  "sip_transfer_method": "POST",
  "sip_transfer_url": "https://example.com/sip-transfer",
  "sip_uri": "sip:12345678@vobiz.ai",
  "default_number_app": false,
  "default_endpoint_app": false,
  "sub_account": null,
  "resource_uri": "/v1/Account/{auth_id}/Application/12345678/",
  "created_at": "2025-10-28T10:30:00Z",
  "updated_at": "2025-10-28T10:30:00Z"
}