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

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

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

console.log(notificationProfiles.data);
{
  "data": [
    {
      "id": "12455643-3cf1-4683-ad23-1cd32f7d5e0a",
      "name": "<string>",
      "created_at": "2019-10-15T10:07:15.527Z",
      "updated_at": "2019-10-15T10:07:15.527Z"
    }
  ],
  "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
object

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

Response

Returns a list of notification profiles.

data
object[]
meta
object