Check out our upcoming events and meetups! View events →
Creates multiple user bundles for the user.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const userBundle = await client.bundlePricing.userBundles.create();
console.log(userBundle.data);{
"data": [
{
"id": "ca1d2263-d1f1-43ac-ba53-248e7a4bb26a",
"active": true,
"user_id": "16856d8c-cd59-4b08-9ac2-1ebb01d419e1",
"created_at": "2025-01-20",
"billing_bundle": {
"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"
]
},
"resources": [],
"updated_at": "2025-01-20"
}
]
}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
Successful Response
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
});
const userBundle = await client.bundlePricing.userBundles.create();
console.log(userBundle.data);{
"data": [
{
"id": "ca1d2263-d1f1-43ac-ba53-248e7a4bb26a",
"active": true,
"user_id": "16856d8c-cd59-4b08-9ac2-1ebb01d419e1",
"created_at": "2025-01-20",
"billing_bundle": {
"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"
]
},
"resources": [],
"updated_at": "2025-01-20"
}
]
}