import Telnyx from 'telnyx';const client = new Telnyx({ apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted});const regions = await client.regions.list();console.log(regions.data);
List all regions and the interfaces that region supports
GET
/
regions
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 regions = await client.regions.list();console.log(regions.data);