Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Consolidated page parameter (deepObject style). Originally: page[number], page[size]
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const notificationEvents = await client.notificationEvents.list();
console.log(notificationEvents.data);{
"data": [
{
"id": "d5c395cd-9864-4609-b5e2-3f9fd4ce201a",
"name": "Emergency Number Dialed",
"notification_category": "Calls",
"enabled": true,
"created_at": "2019-10-15T10:07:15.527Z",
"updated_at": "2019-10-15T10:07:15.527Z"
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}Returns a list of your notifications events.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const notificationEvents = await client.notificationEvents.list();
console.log(notificationEvents.data);{
"data": [
{
"id": "d5c395cd-9864-4609-b5e2-3f9fd4ce201a",
"name": "Emergency Number Dialed",
"notification_category": "Calls",
"enabled": true,
"created_at": "2019-10-15T10:07:15.527Z",
"updated_at": "2019-10-15T10:07:15.527Z"
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Consolidated page parameter (deepObject style). Originally: page[number], page[size]
Show child attributes
Was this page helpful?