Check out our upcoming events and meetups! View events →
Get all allowed bundles.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const billingBundleSummary of client.bundlePricing.billingBundles.list()) {
console.log(billingBundleSummary.id);
}{
"meta": {
"total_results": 55,
"total_pages": 3,
"page_number": 2,
"page_size": 25
},
"data": [
{
"id": "7ecd040e-6bac-4139-9160-3c0427d98fea",
"name": "Australia Basic",
"cost_code": "BUNDLE-PRICING-BASIC-MRC",
"is_public": true,
"created_at": "2023-12-25",
"slug": "basic-au-e4f8",
"mrc_price": 2,
"currency": "USD",
"specs": [
"1 AU Number",
"Emergency Calling",
"All inbound and outbound calling billed pay-as-you-go"
]
}
]
}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.
Format: Bearer Authenticates the request with your Telnyx API V2 KEY
Consolidated filter parameter (deepObject style). Supports filtering by country_iso and resource. Examples: filter[country_iso]=US or filter[resource]=+15617819942
Show child attributes
Consolidated page parameter (deepObject style). Originally: page[size], page[number]
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
});
// Automatically fetches more pages as needed.
for await (const billingBundleSummary of client.bundlePricing.billingBundles.list()) {
console.log(billingBundleSummary.id);
}{
"meta": {
"total_results": 55,
"total_pages": 3,
"page_number": 2,
"page_size": 25
},
"data": [
{
"id": "7ecd040e-6bac-4139-9160-3c0427d98fea",
"name": "Australia Basic",
"cost_code": "BUNDLE-PRICING-BASIC-MRC",
"is_public": true,
"created_at": "2023-12-25",
"slug": "basic-au-e4f8",
"mrc_price": 2,
"currency": "USD",
"specs": [
"1 AU Number",
"Emergency Calling",
"All inbound and outbound calling billed pay-as-you-go"
]
}
]
}