Triggers

List Active Ticket Triggers

Lists all active ticket triggers.

Pagination

  • Cursor pagination (recommended)
  • Offset pagination

See Pagination.

Returns a maximum of 100 records per page.

Allowed For

  • Agents

Sideloads

The following sideloads are supported:

NameWill sideload
app_installationThe app installation that requires each ticket trigger, if present
permissionsThe permissions for each trigger
usage_1hThe number of times each ticket trigger has been used in the past hour
usage_24hThe number of times each ticket trigger has been used in the past day
usage_7dThe number of times each ticket trigger has been used in the past week
usage_30dThe number of times each ticket trigger has been used in the past thirty days
get/api/v2/triggers/active

Response

Success response

countinteger
next_pagestring nullable
previous_pagestring nullable

Example response

{
  "triggers": [
    {
      "actions": [
        {}
      ],
      "active": true,
      "category_id": "10026",
      "conditions": {},
      "created_at": "2012-09-25T22:50:26Z",
      "default": false,
      "description": "Close and save a ticket",
      "id": 25,
      "position": 8,
      "raw_title": "Close and Save",
      "title": "Close and Save",
      "updated_at": "2012-09-25T22:50:26Z",
      "url": "http://{subdomain}.zendesk.com/api/v2/triggers/25.json"
    }
  ]
}

Changes