Update an Application
POST/Accounts/:AccountSid/Applications/:Sid
Allows you to modify the properties of an application.
Permissions
The API token must include one of the following scopes: Voice or Messaging or Fax.
Request
Path Parameters
The Account ID that has the Application.
The Application ID that uniquely identifies the Application.
- application/x-www-form-urlencoded
Body
required
A named unique identifier for the resource. Allowed characters: A-Za-z0-9_-
. Maximum of 100 characters.
If a message's ApplicationSid
is set to this Application's Sid
, when a message receives a status change, SignalWire will send a POST
request to this URL with the message's details.
Possible values: [GET
, POST
]
Whether the request to SmsFallbackUrl
is a GET
or a POST
. Default is POST
.
The URL SignalWire will request if errors occur when fetching the SmsUrl
.
Possible values: [GET
, POST
]
Whether the request to SmsUrl
is a GET
or a POST
. Default is POST
.
If a message's ApplicationSid
is set to this Application's Sid
, when a message receives a status change, SignalWire will send a POST
request to this URL with the message's details.
The URL to request when an SMS is received.
The URL to pass status updates to the Application.
Possible values: [GET
, POST
]
Whether the request to the StatusCallback
URL is a GET
or a POST
. Default is POST
.
Possible values: [GET
, POST
]
Whether the request to VoiceFallbackUrl
is a GET
or a POST
. Default is POST
.
The URL SignalWire will request if errors occur when fetching the Url
.
Possible values: [GET
, POST
]
Whether the request to VoiceUrl
is a GET
or a POST
. Default is POST
.
The URL to request when a phone number receives a call or fax.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
The unique identifier for the Account that created this Application.
The version of the SignalWire API.
The date, in RFC 2822 GMT format, this Account was created.
The date, in RFC 2822 GMT format, this Account was updated.
The unique identifier for the Account.
A named unique identifier for the resource. Allowed characters: A-Za-z0-9_-
. Maximum of 100 characters.
If a message's ApplicationSid
is set to this Application's Sid
, when a message receives a status change, SignalWire will send a POST
request to this URL with the message's details.
Possible values: [GET
, POST
]
Whether the request to SmsFallbackUrl
is a GET
or a POST
. Default is POST
.
The URL SignalWire will request if errors occur when fetching the SmsUrl
.
Possible values: [GET
, POST
]
Whether the request to SmsUrl
is a GET
or a POST
. Default is POST
.
If a message's ApplicationSid
is set to this Application's Sid
, when a message receives a status change, SignalWire will send a POST
request to this URL with the message's details.
The URL to request when an SMS is received.
The URL to pass status updates to the Application.
Possible values: [GET
, POST
]
Whether the request to the StatusCallback
URL is a GET
or a POST
. Default is POST
.
The URI for this Application.
Whether or not to look up a caller's ID from the database. Possible values are true
or false
. Default is false
.
Possible values: [GET
, POST
]
Whether the request to VoiceFallbackUrl
is a GET
or a POST
. Default is POST
.
The URL SignalWire will request if errors occur when fetching the Url
.
Possible values: [GET
, POST
]
Whether the request to VoiceUrl
is a GET
or a POST
. Default is POST
.
The URL to request when a phone number receives a call or fax.
{
"account_sid": "b3877c40-da60-4998-90ad-b792e98472af",
"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",
"sid": "b3877c40-da60-4998-90ad-b792e98472af",
"friendly_name": "My Friendly Name",
"message_status_callback": "http://www.example.com/sms-status-callback",
"sms_fallback_method": "GET",
"sms_fallback_url": "http://www.example.com/sms-fallback",
"sms_method": "GET",
"sms_status_callback": "http://www.example.com/sms-status-callback",
"sms_url": "http://example.com",
"status_callback": "http://example.com",
"staus_callback_method": "POST",
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Applications/b3877c40-da60-4998-90ad-b792e98472af.json",
"voice_caller_id_lookup": false,
"voice_fallback_method": "GET",
"voice_fallback_url": "http://example.com",
"voice_method": "GET",
"voice_url": "http://example.com"
}