import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const inboundChannels = await client.inboundChannels.list();
console.log(inboundChannels.data);{
"data": {
"channels": 7,
"record_type": "inbound_channels"
}
}Returns the US Zone voice channels for your account. voice channels allows you to use Channel Billing for calls to your Telnyx phone numbers. Please check the Telnyx Support Articles section for full information and examples of how to utilize Channel Billing.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const inboundChannels = await client.inboundChannels.list();
console.log(inboundChannels.data);{
"data": {
"channels": 7,
"record_type": "inbound_channels"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?