Skip to main content
GET
/
bundle_pricing
/
user_bundles
/
{user_bundle_id}
/
resources
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

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"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization_bearer
string

Format: Bearer <TOKEN> Authenticates the request with your Telnyx API V2 KEY

Path Parameters

user_bundle_id
string<uuid>
required

User bundle's ID, this is used to identify the user bundle in the API.

Example:

"ca1d2263-d1f1-43ac-ba53-248e7a4bb26a"

Response

Successful Response

data
UserBundleResourceSchema · object[]
required