Check out our upcoming events and meetups! View events →
Retrieves the resources of a user bundle by its ID.
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.bundlePricing.userBundles.listResources(
'ca1d2263-d1f1-43ac-ba53-248e7a4bb26a',
);
console.log(response.data);{
"data": [
{
"id": "ca1d2263-d1f1-43ac-ba53-248e7a4bb26a",
"resource": "+15617819942",
"resource_type": "number",
"created_at": "2025-01-20",
"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
User bundle's ID, this is used to identify the user bundle in the API.
"ca1d2263-d1f1-43ac-ba53-248e7a4bb26a"
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 response = await client.bundlePricing.userBundles.listResources(
'ca1d2263-d1f1-43ac-ba53-248e7a4bb26a',
);
console.log(response.data);{
"data": [
{
"id": "ca1d2263-d1f1-43ac-ba53-248e7a4bb26a",
"resource": "+15617819942",
"resource_type": "number",
"created_at": "2025-01-20",
"updated_at": "2025-01-20"
}
]
}