---
title: "List Object Triggers"
method: GET
path: "/api/v2/custom_objects/{custom_object_key}/triggers"
tags: ["Object Triggers"]
---

# List Object Triggers

`GET /api/v2/custom_objects/{custom_object_key}/triggers`

Lists all triggers for the specified custom object.

#### Allowed For 
* Agents

## Query parameters

- `active` boolean
- `sort_by` string
- `sort_order` string

## Response `200`

Success response

- ObjectTriggersResponse
  - `count` integer
  - `next_page` string, nullable
  - `previous_page` string, nullable
  - `triggers` ObjectTriggerObject[]
    - `actions` TriggerActionObject[], required — An array of actions the trigger does when its conditions are met. See [Actions reference](/documentation/ticketing/reference-guides/actions-reference)
      - `field` string
      - `value` union
        - string
        - integer
        - union[]
          - union
            - string
            - integer
    - `active` boolean — Whether the trigger is active
    - `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 trigger was created
    - `default` boolean — Always false for object triggers
    - `description` string — The description of the trigger
    - `id` integer — Automatically assigned when created
    - `position` integer — Position of the trigger, determines the order they will execute in
    - `raw_title` string — The raw format of the title of the trigger
    - `title` string, required — The title of the trigger
    - `updated_at` string — The time of the last update of the trigger
    - `url` string — The url of the 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)
