Get all billing plans
GET/wireless/billing_plans
Returns a list of all your billing plans
Request
Query Parameters
include_sim_card_groups boolean
Specifies whether the SIM card groups be included in the result payload.
filter[name] string
Filter billing plan based by name.
filter[regions] string[]
Filter billing plans by supported regions.
page[number] number
Current page based on pagination settings.
page[size] number
Number of results to return per page based on pagination settings.
Responses
200: Successful response
- application/json
401: Authentication error
- application/json
403: Authorization error
- application/json
Request samples
curl -L 'https://api.telnyx.com/wireless/billing_plans' \
-H 'Accept: application/json'
Response samples
{
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"data_allocation_per_sim": 0,
"default": true,
"inserted_at": "string",
"name": "string",
"regions": [
"string"
],
"type": "string",
"updated_at": "string"
}
],
"metadata": {
"total_pages": 13,
"total_results": 13,
"page_number": 3,
"page_size": 1
}
}
{
"errors": [
{
"code": "10001",
"title": "error title",
"detail": "additional detail about the error",
"pointer": "/pointer/to/field"
}
]
}
{
"errors": [
{
"code": "10001",
"title": "error title",
"detail": "additional detail about the error",
"pointer": "/pointer/to/field"
}
]
}