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:
| Name | Will sideload |
|---|---|
| app_installation | The app installation that requires each ticket trigger, if present |
| permissions | The permissions for each trigger |
| usage_1h | The number of times each ticket trigger has been used in the past hour |
| usage_24h | The number of times each ticket trigger has been used in the past day |
| usage_7d | The number of times each ticket trigger has been used in the past week |
| usage_30d | The number of times each ticket trigger has been used in the past thirty days |
get/api/v2/triggers/active
Response
Success response
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"
}
]
}