create
Create a new regulatory address.
Request
label
A friendly name given to the address to help distinguish and search for different addresses within your project. When the address is assigned to a phone number for E911, this label is also sent to the carrier as the caller name. The emergency network limits that field to 32 characters, so longer labels are truncated to the first 32 characters before being sent. Truncation affects only the name shown to the dispatcher, never the address used to route the call.
country
The ISO 3166 Alpha 2 country code.
first_name
First name of the occupant associated with this address.
last_name
Last name of the occupant associated with this address.
street_number
The number portion of the street address.
street_name
The name portion of the street address.
city
The city portion of the street address.
state
The state/province/region of the street address. In the USA and Canada, use the two-letter abbreviated form.
postal_code
The postal code of the street address.
address_type
If the address is divided into multiple sub-addresses, this identifies how the address is divided. Possible values are: Apartment, Basement, Building, Department, Floor, Office, Penthouse, Suite, Trailer, Unit.
address_number
If the address is divided into multiple sub-addresses, this identifies the particular sub-address.
emergency_enabled
Applies to US addresses only. When `true` and `country` is `US`, the address is validated against
the carrier before it is stored. For any other `country` the flag is ignored and the response
returns `emergency_enabled: false`. Defaults to `false`, which stores the address without carrier
validation.
auto_correct_address
When the carrier suggests a corrected version of the address, `true` (the default) stores the corrected address; `false` rejects the request with the suggestion returned as candidates.
Response
id
The unique identifier of the Address on SignalWire.
label
A friendly name given to the address to help distinguish and search for different addresses within your project.
country
The ISO 3166 Alpha 2 country code.
first_name
First name of the occupant associated with this address.
last_name
Last name of the occupant associated with this address.
street_number
The number portion of the street address.
street_name
The name portion of the street address.
address_type
If the address is divided into multiple sub-addresses, this identifies how the address is divided.
address_number
If the address is divided into multiple sub-addresses, this identifies the particular sub-address.
city
The city portion of the street address.
state
The state/province/region of the street address. In the USA and Canada, use the two-letter abbreviated form.
postal_code
The postal code of the street address.
zip_code
The postal code of the street address. Alias for postal_code for backwards compatibility.
emergency_enabled
Whether E911 emergency calling is enabled for this address (carrier-validated when created/updated with `emergency_enabled=true` for a US address).
validated
Whether the address was validated by the carrier (true when the carrier returned a valid or auto-corrected match).
validated_at
The RFC 3339 / ISO 8601 timestamp of the last successful carrier validation, or null if never validated.
Response Example
Response