Applications
Update an Application
Changes how an Application routes voice and messaging requests or status callbacks while preserving its SID. The change is also visible through Update cXML application, because both operations manage the same application.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice or Messaging or Fax.
Learn more about API scopes.
post/Accounts/{AccountSid}/Applications/{Sid}
Path parameters
AccountSidstring uuid required
Universal Unique Identifier.
The Account ID that has the Application.
Sidstring uuid required
Universal Unique Identifier.
The Application ID that uniquely identifies the Application.
Response
The request has succeeded.
Example response
{
"api_version": "2010-04-01",
"date_created": "Sat, 15 Sept 2018 10:00:00 +0000",
"date_updated": "Sat, 16 Sept 2018 10:00:00 +0000",
"friendly_name": "My Friendly Name",
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Applications/b3877c40-da60-4998-90ad-b792e98472af.json",
"voice_url": "http://example.com",
"voice_method": "POST",
"voice_fallback_url": "http://example.com",
"voice_fallback_method": "POST",
"status_callback": "http://example.com",
"status_callback_method": "POST",
"sms_url": "http://example.com",
"sms_method": "POST",
"sms_fallback_url": "http://www.example.com/sms-fallback",
"sms_fallback_method": "POST",
"sms_status_callback": "http://www.example.com/sms-status-callback",
"sms_status_callback_method": "POST",
"message_status_callback": "http://www.example.com/sms-status-callback"
}