Fetch address
An Address instance resource represents your or your customer's physical location within a country. Around the world, some local authorities require the name and address of the user to be on file with Twilio to purchase and own a phone number.
Path parameters
-
The SID of the Account that is responsible for the Address resource to fetch.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^AC[0-9a-fA-F]{32}$
. -
The Twilio-provided string that uniquely identifies the Address resource to fetch.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^AD[0-9a-fA-F]{32}$
.
GET
/2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json
curl \
--request GET 'https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json' \
--user "username:password"
Response examples (200)
{
"sid": "ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Addresses/ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
"city": "SF",
"region": "CA",
"street": "4th",
"verified": false,
"validated": false,
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"iso_country": "US",
"postal_code": "94019",
"date_created": "Tue, 18 Aug 2015 17:07:30 +0000",
"date_updated": "Tue, 18 Aug 2015 17:07:30 +0000",
"customer_name": "name",
"friendly_name": "Main Office",
"street_secondary": null,
"emergency_enabled": false
}