Lets you create and validate an E911 address within the US and Canada which can then be assigned to any of the long code or toll-free numbers on your account. To assign an E911 address to your number, see Assign a Valid E911 Address to Your Phone Number.
E911 object to be added which is composed of type and attributes.
Object type. This will always be e911.
Object composed of the following required attributes of an E911 object:
label string- Unique friendly name for the E911 address to be validated and added to your account.
first_name string- First name to be associated with the E911 address to be added.
last_name string- Last name to be associated with the E911 address to be added.
street_number integer- The street number of the E911 address to be validated and added to your account.
street_name string- The street name of the E911 address to be validated and added to your account.
city string- City where the E911 address to be validated and added to your account is located.
address_type string- Address type for the E911 address to be validated and added to your account, if applicable. You can set the address type to any of the following case-insensitive options:
address_type_number integer- Number associated with the address type. Required if the E911 address to be validated contains an address type.
state string- Two-letter abbreviated US state or Canadian province or territory in uppercase where the E911 city is located.
country string- Two-letter abbreviated country code in uppercase where the city and state or province of the E911 address are located. Valid options are US for USA and CA for Canada.
zip string- Valid US or Canada zip code for the E911 address to be added to your account. For example, 98104 for the US and M4C 5K7 for Canada.
On success, the HTTP status code in the response header is 201 Created and the response body contains an e911 object in JSON format. On error, the header status code is an error code and the response body contains an array of error objects.