Skip to main content
GET
/
sim_card_data_usage_notifications
JavaScript
import Telnyx from 'telnyx';

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

const simCardDataUsageNotifications = await client.simCardDataUsageNotifications.list();

console.log(simCardDataUsageNotifications.data);
{
  "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": {
    "page_number": 2,
    "page_size": 25,
    "total_pages": 3,
    "total_results": 55
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page[number]
integer
default:1

The page number to load.

Required range: x >= 1
page[size]
integer
default:20

The size of the page.

Required range: 1 <= x <= 250
filter[sim_card_id]
string<uuid>

A valid SIM card ID.

Example:

"47a1c2b0-cc7b-4ab1-bb98-b33fb0fc61b9"

Response

Successful Response

data
object[]
meta
object