---
title: "Retrieves all triggers."
method: GET
path: "/rest/manager/triggers/getall"
tags: ["Triggers APIs"]
---

# Retrieves all triggers.

`GET /rest/manager/triggers/getall`

## Request

- Base URL: `https://masonconsole.com`
- URL: `https://masonconsole.com/rest/manager/triggers/getall`
- Auth: HTTP bearer

This endpoint is used to retrieve all triggers previously stored. The endpoint will return a JSON array containing all triggers in the database. If no triggers are found in the database, the endpoint will return an empty array.

## Response `200`

Successful response

- GetAllTriggersResponse
  - `data` TriggersData
    - `items` Trigger[]
      - `triggerId` string
      - `triggerName` string
      - `description` string
      - `domain` string
      - `owner` string
      - `triggerData` TriggerData
        - `execCondition` string
        - `execConditionSuccessCode` integer
        - `execConditionScript` boolean
        - `@class` string, required
      - `creationDate` string, date-time
      - `privateRepoItem` boolean
      - `color` string
      - `fontIcon` string
  - `result` string
  - `@class` string, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests
- `500`: Internal server error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/bymason/apis/mason-device-console-api-docs.md) - [All operations](https://skmtc.dev/bymason/apis/mason-device-console-api-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/bymason/apis/mason-device-console-api-docs/revisions/d9cdcc14b7d1?raw)
