Check out our upcoming events and meetups! View events →
Returns the civic addresses and locations from Microsoft Teams.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const civicAddresses = await client.externalConnections.civicAddresses.list('1293384261075731499');
console.log(civicAddresses.data);{
"data": [
{
"id": "07a4dc5d-9b3b-4ba2-88a4-6ba172316c65",
"record_type": "civic_address",
"city_or_town": "Austin",
"city_or_town_alias": "",
"company_name": "Telnyx",
"country": "US",
"country_or_district": "US",
"default_location_id": "18ded4bb-b694-44c1-a89b-a35b7acd4c9e",
"description": "Austin Office",
"house_number": "600",
"house_number_suffix": "",
"locations": [
{
"id": "18ded4bb-b694-44c1-a89b-a35b7acd4c9e",
"additional_info": "",
"description": "Austin Office",
"is_default": true
},
{
"id": "d420a57f-c4ae-4697-87e1-fbefd9e86f72",
"additional_info": "14th Floor",
"description": "",
"is_default": false
}
],
"postal_or_zip_code": "78701",
"state_or_province": "TX",
"street_name": "Congress Street",
"street_suffix": ""
}
]
}Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Identifies the resource.
"1293384261075731499"
Filter parameter for civic addresses (deepObject style). Supports filtering by country.
Show child attributes
Successful response
Show child attributes
Was this page helpful?
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const civicAddresses = await client.externalConnections.civicAddresses.list('1293384261075731499');
console.log(civicAddresses.data);{
"data": [
{
"id": "07a4dc5d-9b3b-4ba2-88a4-6ba172316c65",
"record_type": "civic_address",
"city_or_town": "Austin",
"city_or_town_alias": "",
"company_name": "Telnyx",
"country": "US",
"country_or_district": "US",
"default_location_id": "18ded4bb-b694-44c1-a89b-a35b7acd4c9e",
"description": "Austin Office",
"house_number": "600",
"house_number_suffix": "",
"locations": [
{
"id": "18ded4bb-b694-44c1-a89b-a35b7acd4c9e",
"additional_info": "",
"description": "Austin Office",
"is_default": true
},
{
"id": "d420a57f-c4ae-4697-87e1-fbefd9e86f72",
"additional_info": "14th Floor",
"description": "",
"is_default": false
}
],
"postal_or_zip_code": "78701",
"state_or_province": "TX",
"street_name": "Congress Street",
"street_suffix": ""
}
]
}