Skip to main content

Arguments

triggerId : ID! required

The ID of the trigger.

Returns

Trigger!

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can publish transactional messaging triggers
OR Can query transactional messaging triggers

Query Complexity

3

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

query Trigger($triggerId: ID!) { trigger(triggerId: $triggerId) { accounts { ...AccountConnectionTypeConnectionFragment } accountsLinkedAt createdAt id messages { ...MessageConnectionFragment } processingStatus triggerTypeCode } }

Variables

{ "triggerId": "31937548" }

Response

{ "data": { "trigger": { "accounts": AccountConnectionTypeConnection, "accountsLinkedAt": "1972-02-11T02:32:15.642068+00:00", "createdAt": "2015-01-28T03:00:58.024730+00:00", "id": "85875748", "messages": MessageConnection, "processingStatus": "UNPROCESSED", "triggerTypeCode": "region-cost-else-director-party" } } }