Retrieve the Triggers

Retrieve Triggers by the PromoAlerts category.

GET
/m2m/v2/triggers/categories/PromoAlerts

Retrieves all of the triggers for the specified account associated with the PromoAlert category

Authorization

thingspace_oauth VZ-M2M-Token
AuthorizationBearer <token>

This is the ThingSpace token, from Credentials and Tokens is used

In: header

VZ-M2M-Token<token>

M2M Session Token (How to generate an M2M session token?)

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/m2m/v2/triggers/categories/PromoAlerts"
{  "triggers": [    {      "triggerId": "2874DEC7-26CF-4797-9C6A-B5A2AC72D526",      "triggerName": "PromoAlerts_0000000000-00001_23456789",      "accountName": "0000123456-000001",      "organizationName": "Optional group name",      "triggerCategory": "PromoAlerts",      "promoAlerts": [        {          "filterCriteria": [            {              "servicePlan": "string"            }          ],          "condition": [            {              "dataPercentage50": false,              "dataPercentage75": false,              "dataPercentage90": false,              "dataPercentage100": false,              "smsPercentage50": false,              "smsPercentage75": false,              "smsPercentage90": false,              "smsPercentage100": true,              "NoOfDaysB4PromoExp": 5            }          ],          "enablePromoExp": true        }      ],      "active": true,      "createdAt": "2019-08-24T14:15:22Z",      "modifiedAt": "2019-08-24T14:15:22Z"    }  ]}