Skip to main content

Get Unused User Bundles

GET 
/bundle-pricing/user_bundles/unused

Returns all User Bundles that aren't in use.

Request

Query Parameters

    filter[country_iso] string[]

    Filter by country code.

Header Parameters

    Authorization: Bearer <TOKEN> string

Responses

200: Successful Response

401: Unauthorized

Request samples


curl -L 'https://api.telnyx.com/v2/bundle-pricing/user_bundles/unused' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": [
{
"billing_bundle": {
"id": "7ecd040e-6bac-4139-9160-3c0427d98fea",
"name": "Australia Basic",
"slug": "basic-au-e4f8",
"cost_code": "BUNDLE-PRICING-BASIC-MRC",
"is_public": true,
"created_at": "2024-07-29",
"mrc_price": 2,
"currency": "USD",
"specs": [
"1 AU Number",
"Emergency Calling",
"All inbound and outbound calling billed pay-as-you-go"
]
},
"user_bundle_ids": [
"1e650b96-4c6a-4d6f-b8ed-87c3fcacf595",
"53beb701-1231-4548-8abf-c802f38b14aa"
]
}
]
}