---
title: "Reorder Ticket Triggers"
method: PUT
path: "/api/v2/triggers/reorder"
tags: ["Triggers"]
---

# Reorder Ticket Triggers

`PUT /api/v2/triggers/reorder`

Alters the firing order of ticket triggers in the account. See
[Reordering and sorting triggers](https://support.zendesk.com/hc/en-us/articles/115015696088)
in the Zendesk Help Center. The firing order is set in a `trigger_ids` array in the request body.

You must include every ticket trigger id in your account to reorder the ticket triggers. If not, the endpoint will return 404 Forbidden.

Reordering ticket triggers via the API is not permitted if you have more than one ticket trigger category. If there is more than one
ticket trigger category, the endpoint will return a `LimitOneCategory` error.

#### Allowed For

* Agents

## Response `200`

Success response

- TriggerResponse
  - `trigger` 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)
