Skip to main content

Retrieve an address

GET 
/addresses/:id

Retrieves the details of an existing address.

Request

Path Parameters

    id stringrequired

    address ID

Responses

200: Successful response

401: Unauthorized

404: Resource not found

422: Bad request

Request samples


curl -L 'https://api.telnyx.com/v2/addresses/:id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": {
"id": "1293384261075731499",
"record_type": "address",
"customer_reference": "MY REF 001",
"first_name": "Alfred",
"last_name": "Foster",
"business_name": "Toy-O'Kon",
"phone_number": "+12125559000",
"street_address": "311 W Superior Street",
"extended_address": "#504",
"locality": "Chicago",
"administrative_area": "IL",
"neighborhood": "Ciudad de los deportes",
"borough": "Guadalajara",
"postal_code": "60654",
"country_code": "US",
"address_book": false,
"validate_address": true,
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
}