Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Channel zone identifier
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.list.retrieveByZone('channel_zone_id');
console.log(response.data);{
"data": [
{
"zone_name": "Euro channel zone",
"zone_id": "1653e6a1-4bfd-4857-97c6-6a51e1c34477",
"number_of_channels": 7,
"numbers": [
{
"number": "+15554441234",
"country": "FR"
}
]
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}Retrieve a list of phone numbers using Channel Billing for a specific Zone.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.list.retrieveByZone('channel_zone_id');
console.log(response.data);{
"data": [
{
"zone_name": "Euro channel zone",
"zone_id": "1653e6a1-4bfd-4857-97c6-6a51e1c34477",
"number_of_channels": 7,
"numbers": [
{
"number": "+15554441234",
"country": "FR"
}
]
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Channel zone identifier
Was this page helpful?