Create an Application
POST/Accounts/:AccountSid/Applications
Create 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.
- application/x-www-form-urlencoded
Body
required
A named unique identifier for the resource. Allowed characters: A-Za-z0-9_-
. Maximum of 100 characters.
My Friendly Name
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.
http://www.example.com/sms-status-callback
Whether the request to SmsFallbackUrl
is a GET
or a POST
. Default is POST
.
Possible values: [GET
, POST
]
GET
The URL SignalWire will request if errors occur when fetching the SmsUrl
.
http://www.example.com/sms-fallback
Whether the request to SmsUrl
is a GET
or a POST
. Default is POST
.
Possible values: [GET
, POST
]
GET
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.
http://www.example.com/sms-status-callback
The URL to request when an SMS is received.
http://example.com
The URL to pass status updates to the Application.
http://example.com
Whether the request to the StatusCallback
URL is a GET
or a POST
. Default is POST
.
Possible values: [GET
, POST
]
POST
Whether or not to look up a caller's ID from the database. Possible values are true
or false
. Default is false
.
false
Whether the request to VoiceFallbackUrl
is a GET
or a POST
. Default is POST
.
Possible values: [GET
, POST
]
GET
The URL SignalWire will request if errors occur when fetching the Url
.
http://example.com
Whether the request to VoiceUrl
is a GET
or a POST
. Default is POST
.
Possible values: [GET
, POST
]
GET
The URL to request when a phone number receives a call or fax.
http://example.com
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
The unique identifier for the Account that created this Application.
b3877c40-da60-4998-90ad-b792e98472af
The version of the SignalWire API.
2010-04-01
The date, in RFC 2822 GMT format, this Account was created.
Sat, 15 Sept 2018 10:00:00 +0000
The date, in RFC 2822 GMT format, this Account was updated.
Sat, 16 Sept 2018 10:00:00 +0000
The unique identifier for the Account.
b3877c40-da60-4998-90ad-b792e98472af
A named unique identifier for the resource. Allowed characters: A-Za-z0-9_-
. Maximum of 100 characters.
My Friendly Name
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.
http://www.example.com/sms-status-callback
Whether the request to SmsFallbackUrl
is a GET
or a POST
. Default is POST
.
Possible values: [GET
, POST
]
GET
The URL SignalWire will request if errors occur when fetching the SmsUrl
.
http://www.example.com/sms-fallback
Whether the request to SmsUrl
is a GET
or a POST
. Default is POST
.
Possible values: [GET
, POST
]
GET
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.
http://www.example.com/sms-status-callback
The URL to request when an SMS is received.
http://example.com
The URL to pass status updates to the Application.
http://example.com
Whether the request to the StatusCallback
URL is a GET
or a POST
. Default is POST
.
Possible values: [GET
, POST
]
POST
The URI for this Application.
/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Applications/b3877c40-da60-4998-90ad-b792e98472af.json
Whether or not to look up a caller's ID from the database. Possible values are true
or false
. Default is false
.
false
Whether the request to VoiceFallbackUrl
is a GET
or a POST
. Default is POST
.
Possible values: [GET
, POST
]
GET
The URL SignalWire will request if errors occur when fetching the Url
.
http://example.com
Whether the request to VoiceUrl
is a GET
or a POST
. Default is POST
.
Possible values: [GET
, POST
]
GET
The URL to request when a phone number receives a call or fax.
http://example.com
{
"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"
}