import Telnyx from 'telnyx';const client = new Telnyx({ apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted});const response = await client.list.retrieveAll();console.log(response.data);
Retrieve a list of all phone numbers using Channel Billing, grouped by Zone.
GET
/
list
JavaScript
Copy
Ask AI
import Telnyx from 'telnyx';const client = new Telnyx({ apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted});const response = await client.list.retrieveAll();console.log(response.data);