List 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 read.
Query parameters
-
CustomerName string
The
customer_name
of the Address resources to read. -
FriendlyName string
The string that identifies the Address resources to read.
-
IsoCountry string(iso-country-code)
The ISO country code of the Address resources to read.
-
PageSize integer
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Minimum value is
1
, maximum value is1000
.
GET /2010-04-01/Accounts/{AccountSid}/Addresses.json
curl \
-X GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Addresses.json \
--user "username:password"
Response examples (200)
{
"addresses": [
{
"account_sid": "string",
"city": "string",
"customer_name": "string",
"date_created": "string",
"date_updated": "string",
"emergency_enabled": true,
"friendly_name": "string",
"iso_country": "string",
"postal_code": "string",
"region": "string",
"sid": "string",
"street": "string",
"uri": "https://example.com",
"validated": true,
"verified": true
}
],
"end": 42,
"first_page_uri": "https://example.com",
"next_page_uri": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_uri": "https://example.com",
"start": 42,
"uri": "https://example.com"
}
Response examples (200)
{
"addresses": [
{
"account_sid": "string",
"city": "string",
"customer_name": "string",
"date_created": "string",
"date_updated": "string",
"emergency_enabled": true,
"friendly_name": "string",
"iso_country": "string",
"postal_code": "string",
"region": "string",
"sid": "string",
"street": "string",
"uri": "https://example.com",
"validated": true,
"verified": true
}
],
"end": 42,
"first_page_uri": "https://example.com",
"next_page_uri": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_uri": "https://example.com",
"start": 42,
"uri": "https://example.com"
}