Skip to main content
GET
/
v1
/
automations
/
triggers
Get triggers
curl --request GET \
  --url https://brew.new/api/v1/automations/triggers \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "triggerEventId": "tri_signup",
      "title": "User Signed Up",
      "description": "Fires when a user completes signup.",
      "provider": "brew_api",
      "payloadSchema": {
        "type": "object",
        "fields": [
          {
            "key": "email",
            "type": "string",
            "required": true
          },
          {
            "key": "firstName",
            "type": "string",
            "required": false
          }
        ]
      },
      "createdAt": "2026-04-08T12:00:00.000Z",
      "updatedAt": "2026-04-08T12:00:00.000Z"
    }
  ],
  "pagination": {
    "limit": 100,
    "cursor": null,
    "hasMore": false
  }
}

Authorizations

Authorization
string
header
default:Bearer brew_your_api_key
required

Send your Brew API key as Authorization: Bearer brew_xxx.

Query Parameters

triggerEventId
string

Fetch a single trigger by id (detail mode → { data: [row] }). Omit to list.

Required string length: 1 - 64
limit
integer

Page size (1–100). Defaults to 100.

Required range: 1 <= x <= 100
cursor
string

Opaque pagination cursor echoed from the previous page’s pagination.cursor. Omit for the first page.

Required string length: 1 - 512

Response

A page of trigger rows (list mode), or { data: [row] } (detail mode).

data
object[]
required
pagination
object