Skip to main content

List all Notifications Events Conditions

GET 
/notification_event_conditions

Returns a list of your notifications events conditions.

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[associated_record_type][eq] string

    Possible values: [account, phone_number]

    Filter by the associated record type

Responses

200: Returns a list of notification event conditions available.

default: Unexpected error

Request samples


curl -L 'https://api.telnyx.com/v2/notification_event_conditions' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": [
{
"id": "70c7c5cb-dce2-4124-accb-870d39dbe852",
"name": "from phone number",
"description": "When emergency number dialed from phone number X",
"notification_event_id": "d5c395cd-9864-4609-b5e2-3f9fd4ce201a",
"associated_record_type": "phone_number",
"parameters": [
{
"name": "phone_number",
"optional": false,
"data_type": "string"
}
],
"enabled": true,
"allow_multiple_channels": false,
"asynchronous": true,
"supported_channels": [
"webhook",
"sms",
"email",
"voice"
],
"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
}
}