Create E911 address
Changed onCreates a physical E911 service address that can be assigned to an owned phone number for emergency calling. Use it before Assign an E911 address to a phone number when emergency services need the caller's registered street location. Do not use this endpoint for a resource address or SIP URI.
When emergency_enabled=true and the address is in the US (country = US), the address is validated against the carrier. A valid or auto-corrected address is stored (validated: true). An address the carrier cannot validate — or a correctable address when auto_correct_address=false — is rejected with a 422 whose body includes an errors array and a candidates array of suggested addresses (each with street_number, street_name, city, state, postal_code). Carrier validation applies to US addresses only: a non-US address is stored normally, with emergency_enabled returned as false. Requests without emergency_enabled are stored without carrier validation.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Numbers.
Learn more about API scopes.
Request
- Base URLhttps://{Your_Space_Name}.signalwire.com
- URLhttps://{Your_Space_Name}.signalwire.com/api/relay/rest/addresses
- AuthHTTP basic
Request body
Example request
{
"label": "My Address",
"country": "US",
"first_name": "Emmett",
"last_name": "Brown",
"street_number": "1640",
"street_name": "Riverside Drive",
"address_number": "42",
"city": "Alexandria",
"state": "CA",
"postal_code": "91905",
"emergency_enabled": true,
"auto_correct_address": true
}Response
The request has succeeded.
Example response
{
"label": "My Address",
"country": "US",
"first_name": "Emmett",
"last_name": "Brown",
"street_number": "1640",
"street_name": "Riverside Drive",
"address_number": "42",
"city": "Alexandria",
"state": "CA",
"postal_code": "91905",
"zip_code": "91905"
}Changes
- breaking
removed the success response with the status
- info
the
request property default valuetruewas added - info
the
request property default valuefalsewas added - info
added the optional property
to the response with the status - info
added the success response with the status
- breaking
- info
added the new optional request property
- info
added the new optional request property
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info
Some revisions have not been checked yet.