Skip to main content
GET
/
notification_events
JavaScript
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
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page
object

Consolidated page parameter (deepObject style). Originally: page[number], page[size]

Response

Returns a list of notification events available.

data
object[]
meta
object