---
title: "List Active Ticket Triggers"
method: GET
path: "/api/v2/triggers/active"
tags: ["Triggers"]
---

# List Active Ticket Triggers

`GET /api/v2/triggers/active`

Lists all active ticket triggers.

#### Pagination

- Cursor pagination (recommended)
- Offset pagination

See [Pagination](/api-reference/introduction/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

## Response `200`

Success response

- TriggersResponse
  - `count` integer
  - `next_page` string, nullable
  - `previous_page` string, nullable
  - `triggers` TriggerObject[]
    - `actions` TriggerActionObject[], required — An array of actions describing what the ticket trigger will do. See [Actions reference](/documentation/ticketing/reference-guides/actions-reference)
      - `field` string
      - `value` union
        - string
        - integer
        - union[]
          - union
            - string
            - integer
    - `active` boolean — Whether the ticket trigger is active
    - `category_id` string — The ID of the category the ticket trigger belongs to
    - `conditions` TriggerConditionsObject, required — An object that describes the circumstances under which the trigger performs its actions. See [Conditions reference](/documentation/ticketing/reference-guides/conditions-reference)
      - `all` TriggerConditionObject[], nullable
        - `field` string
        - `operator` string
        - `value` union
          - string
          - integer
          - union[]
            - union
              - …
      - `any` TriggerConditionObject[], nullable
        - `field` string
        - `operator` string
        - `value` union
          - string
          - integer
          - union[]
            - union
              - …
    - `created_at` string — The time the ticket trigger was created
    - `default` boolean — If true, the ticket trigger is a standard trigger
    - `description` string — The description of the ticket trigger
    - `id` integer — Automatically assigned when created
    - `position` integer — Position of the ticket trigger, determines the order they will execute in
    - `raw_title` string — The raw format of the title of the ticket trigger
    - `title` string, required — The title of the ticket trigger
    - `updated_at` string — The time of the last update of the ticket trigger
    - `url` string — The url of the ticket trigger

---

[API](https://skmtc.dev/botbrains-io/apis/support-api.md) · [All operations](https://skmtc.dev/botbrains-io/apis/support-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/botbrains-io/support-api/revisions/d53eac07ba68/schema)
