Applications
Create an Application
Creates a reusable voice and messaging routing application in the account. The new Application also becomes an addressable cXML Application. The cXML Applications API manages existing applications but does not create them, so create Applications here.
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
Path parameters
AccountSidstring uuid required
Universal Unique Identifier.
The Account ID that has the Application.
Response
Response containing a newly created application.
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"
}