---
updatedAt: 2026-06-25T14:31:44.000Z
agentTools:
  projectIndex: https://personalization.developer.dotdigital.com/llms.txt
---

# List trigger rules

Retrieves a list of trigger rules for the requesting account and website.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Triggers API",
    "description": "Manages trigger programs within Dotdigital Personalization. Trigger programs define automated actions — such as sending follow-up messages or updating contact attributes — that fire in response to behavioural events. Operations include listing, retrieving, updating, deleting, and cloning trigger configurations, as well as managing the associated trigger items.",
    "version": "1.0.1"
  },
  "servers": [
    {
      "url": "https://{region}-api-freshrelevance.dotdigital.com/api",
      "variables": {
        "region": {
          "description": "The region id your account belongs to",
          "enum": [
            "r1",
            "r2",
            "r3"
          ],
          "default": "r1"
        }
      }
    }
  ],
  "security": [
    {
      "apiTokenAuth": []
    }
  ],
  "paths": {
    "/{website_id}/trigger_rules/": {
      "get": {
        "tags": [
          "Trigger rules"
        ],
        "summary": "List trigger rules",
        "description": "Retrieves a list of trigger rules for the requesting account and website.",
        "operationId": "getListTriggerRules",
        "parameters": [
          {
            "name": "website_id",
            "in": "path",
            "description": "Website ID for the account you are posting data to.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "abc123"
          },
          {
            "name": "format",
            "in": "query",
            "description": "Get data in JSON format.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "json"
              ]
            },
            "example": "json"
          },
          {
            "name": "include_deleted",
            "in": "query",
            "description": "Include deleted / inactive triggers in the results.",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "include_live_flag",
            "in": "query",
            "description": "Include `is_live` flag in the results which can impact call times.",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The page of trigger data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/inline_response_200_2"
                },
                "examples": {
                  "success": {
                    "value": {
                      "count": 2,
                      "total": 2,
                      "page": 1,
                      "links": {},
                      "results": [
                        {
                          "name": "LS testing variants - Price Drop",
                          "type": "Price Drop",
                          "last_edited_by": "joe.bloggs",
                          "active": true,
                          "slug": "pcv-tbxerpxkf0e0gwir7afg",
                          "dt": "2024-10-03T12:02:36.242000",
                          "triggers_used": [
                            "none",
                            "cknq2v6"
                          ],
                          "is_live": false,
                          "total_sent": 0
                        },
                        {
                          "name": "cart abandon",
                          "type": "Cart Abandon",
                          "last_edited_by": "deborah.bloggs",
                          "active": true,
                          "slug": "b",
                          "dt": "2024-05-20T08:44:20.353000",
                          "triggers_used": [
                            "sc0tkf4",
                            "eq3agqe",
                            "aza60on",
                            "k74ug8uk"
                          ],
                          "is_live": false,
                          "total_sent": 0
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ErrorResponse"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/403Response"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "TriggerRule": {
        "required": [
          "active",
          "dt",
          "last_edited_by",
          "name",
          "tags",
          "total_sent",
          "triggers_used",
          "type"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The triggers descriptive name."
          },
          "type": {
            "type": "string",
            "description": "The type of trigger.",
            "enum": [
              "Cart Abandon",
              "Browse Abandon",
              "Purchase Complete",
              "Custom",
              "Price Drop",
              "Back in Stock",
              "Low Stock"
            ]
          },
          "active": {
            "type": "boolean",
            "description": "Indicates whether the trigger rule is active or inactive (deleted)."
          },
          "last_edited_by": {
            "type": "string",
            "description": "The username of the last person to update the trigger."
          },
          "dt": {
            "type": "string",
            "description": "Last modified data and time in ISO 8601 format.",
            "example": "2024-09-09T13:47:39.486000"
          },
          "total_sent": {
            "type": "integer",
            "description": "Total times the trigger has been sent."
          },
          "tags": {
            "type": "string",
            "description": "Tags associated with the trigger rule."
          },
          "triggers_used": {
            "type": "array",
            "description": "Which trigger rules this trigger is used in.",
            "items": {
              "type": "string",
              "description": "Trigger rule id"
            }
          },
          "is_live": {
            "type": "boolean",
            "description": "Indicates whether the rule has been used recently or not."
          }
        },
        "description": "Trigger rule"
      },
      "PaginatedData": {
        "required": [
          "count",
          "links",
          "page",
          "total"
        ],
        "type": "object",
        "properties": {
          "page": {
            "minimum": 1,
            "type": "integer",
            "description": "The index for the page of data returned.",
            "example": 1
          },
          "count": {
            "minimum": 0,
            "type": "integer",
            "description": "Number of records in the page.",
            "example": 12
          },
          "total": {
            "minimum": 0,
            "type": "integer",
            "description": "Total number of records in the set.",
            "example": 12
          },
          "links": {
            "$ref": "#/components/schemas/PaginatedData_links"
          }
        },
        "description": "Data page and pagination links"
      },
      "inline_response_200_2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PaginatedData"
          },
          {
            "required": [
              "results"
            ],
            "type": "object",
            "properties": {
              "results": {
                "$ref": "#/components/schemas/TriggerRule"
              }
            },
            "description": "The accounts details."
          }
        ]
      },
      "PaginatedData_links": {
        "type": "object",
        "properties": {
          "next": {
            "type": "string",
            "description": "URL of the next page.",
            "format": "url",
            "nullable": true
          },
          "previous": {
            "type": "string",
            "description": "URL of the previous page.",
            "format": "url",
            "nullable": true
          }
        },
        "description": "Page navigation links"
      }
    },
    "responses": {
      "ErrorResponse": {
        "description": "An error occurred",
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "error",
                "ok"
              ],
              "type": "object",
              "properties": {
                "ok": {
                  "type": "boolean",
                  "description": "Indicates the call failed",
                  "enum": [
                    false
                  ]
                },
                "error": {
                  "oneOf": [
                    {
                      "type": "string",
                      "description": "The reason the call errored",
                      "example": "Validation error. No folder bd8eciompb7y, unable to delete"
                    },
                    {
                      "type": "object",
                      "additionalProperties": {
                        "minItems": 1,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "example": "This field may not be null."
                        }
                      },
                      "description": "Fields with issues and their errors"
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "403Response": {
        "description": "Forbidden - Usually you are requesting data for a website you don't have access to."
      }
    },
    "securitySchemes": {
      "apiTokenAuth": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  },
  "x-samples-languages": [
    "curl",
    "csharp",
    "java",
    "javascript",
    "node",
    "python",
    "php",
    "ruby"
  ]
}
```

# Sibling pages

* [Get trigger rule](https://personalization.developer.dotdigital.com/reference/gettriggerrule.md)