List SIM card data usage notifications
GET/sim_card_data_usage_notifications
Lists a paginated collection of SIM card data usage notifications. It enables exploring the collection using specific filters.
Request
Query Parameters
page[number] integer
Possible values: >= 1
Default value: 1
The page number to load.
page[size] integer
Possible values: >= 1
and <= 250
Default value: 20
The size of the page.
filter[sim_card_id] uuid
A valid SIM card ID.
Responses
200: Successful Response
- application/json
401: Unauthorized
default: Unexpected error
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/sim_card_data_usage_notifications' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": [
{
"id": "79228acc-3f08-4e70-ac68-cb5aae8b537a",
"sim_card_id": "b34c1683-cd85-4493-b9a5-315eb4bc5e19",
"threshold": {
"amount": "2048.0",
"unit": "MB"
},
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}