Api20100401Address

post/2010-04-01/Accounts/{AccountSid}/Addresses.json

Request

  • Base URL
    https://api.twilio.com
  • URL
    https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Addresses.json
  • Auth
    HTTP basic

Path parameters

AccountSidstring required

The SID of the Account that will be responsible for the new Address resource.

Request body application/x-www-form-urlencoded

CustomerNamestring required

The name to associate with the new address.

Streetstring required

The number and street address of the new address.

Citystring required

The city of the new address.

Regionstring required

The state or region of the new address.

PostalCodestring required

The postal code of the new address.

IsoCountrystring iso-country-code required

The ISO country code of the new address.

FriendlyNamestring

A descriptive string that you create to describe the new address. It can be up to 64 characters long for Regulatory Compliance addresses and 32 characters long for Emergency addresses.

EmergencyEnabledboolean

Whether to enable emergency calling on the new address. Can be: true or false.

AutoCorrectAddressboolean

Whether we should automatically correct the address. Can be: true or false and the default is true. If empty or true, we will correct the address you provide if necessary. If false, we won't alter the address you provide.

StreetSecondarystring

The additional number and street address of the address.

Response

Created

account_sidstring nullable

The SID of the Account that is responsible for the Address resource.

citystring nullable

The city in which the address is located.

customer_namestring nullable

The name associated with the address.This property has a maximum length of 16 4-byte characters, or 21 3-byte characters.

date_createdstring date-time-rfc-2822 nullable

The date and time in GMT that the resource was created specified in RFC 2822 format.

date_updatedstring date-time-rfc-2822 nullable

The date and time in GMT that the resource was last updated specified in RFC 2822 format.

friendly_namestring nullable

The string that you assigned to describe the resource.

iso_countrystring iso-country-code nullable

The ISO country code of the address.

postal_codestring nullable

The postal code of the address.

regionstring nullable

The state or region of the address.

sidstring nullable

The unique string that that we created to identify the Address resource.

streetstring nullable

The number and street address of the address.

uristring nullable

The URI of the resource, relative to https://api.twilio.com.

emergency_enabledboolean nullable

Whether emergency calling has been enabled on this number.

validatedboolean nullable

Whether the address has been validated to comply with local regulation. In countries that require valid addresses, an invalid address will not be accepted. true indicates the Address has been validated. false indicate the country doesn't require validation or the Address is not valid.

verifiedboolean nullable

Whether the address has been verified to comply with regulation. In countries that require valid addresses, an invalid address will not be accepted. true indicates the Address has been verified. false indicate the country doesn't require verified or the Address is not valid.

street_secondarystring nullable

The additional number and street address of the address.

Changes

No recorded changes to this operation across all 54 revisions of this API.