Skip to main content

List all civic addresses and locations

GET 
/external_connections/:id/civic_addresses

Returns the civic addresses and locations from Microsoft Teams.

Request

Path Parameters

    id int64required

    Identifies the resource.

Responses

200: Successful response

401: Unauthorized

404: Not found

500: Unexpected Error

502: Bad Gateway

Request samples


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

Response samples


{
"data": [
{
"id": "07a4dc5d-9b3b-4ba2-88a4-6ba172316c65",
"record_type": "civic_address",
"city_or_town": "Chicago",
"city_or_town_alias": null,
"company_name": "Telnyx",
"country": "US",
"county_or_district": "US",
"default_location_id": "18ded4bb-b694-44c1-a89b-a35b7acd4c9e",
"description": "Chicago Office",
"house_number": "311",
"house_number_suffix": null,
"locations": [
{
"id": "18ded4bb-b694-44c1-a89b-a35b7acd4c9e",
"additional_info": null,
"description": "Chicago Office",
"is_default": true
},
{
"id": "d420a57f-c4ae-4697-87e1-fbefd9e86f72",
"additional_info": "Main building, Suite 504",
"description": null,
"is_default": false
}
],
"postal_or_zip_code": "60654",
"state_or_province": "IL",
"street_name": "West Superior Street",
"street_suffix": null
}
]
}