Retrieve the Triggers

Retrieve Triggers by Account Name.

GET
/m2m/v2/triggers/accounts/{accountName}

Retrieve the triggers associated with an account name.

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

Path Parameters

accountName*string

The account name

Response Body

application/json

application/json

curl -X GET "https://example.com/m2m/v2/triggers/accounts/0000123456-000001"
{  "triggers": [    {      "triggerId": "2874DEC7-26CF-4797-9C6A-B5A2AC72D526",      "triggerName": "PromoAlerts_0000000000-00001_23456789",      "accountName": "0000123456-000001",      "organizationName": "Optional group name",      "triggerCategory": "PromoAlerts",      "triggerAttributes": [        {          "key": "ServicePlan"        }      ],      "createdAt": "2019-08-24T14:15:22Z",      "modifiedAt": "2019-08-24T14:15:22Z"    }  ]}