Skip to main content
GET
/
v1
/
automations
/
{automationId}
/
trigger
Get automation trigger info
curl --request GET \
  --url https://brew.new/api/v1/automations/{automationId}/trigger \
  --header 'Authorization: Bearer <token>'
{
  "automationId": "<string>",
  "name": "<string>",
  "status": "draft",
  "isEnabled": true,
  "isPublished": true,
  "eventDefinition": {
    "eventId": "<string>",
    "eventName": "<string>",
    "payloadSchema": {
      "properties": {},
      "required": [
        "<string>"
      ]
    },
    "samplePayload": {}
  },
  "endpoint": "<string>"
}

Authorizations

Authorization
string
header
required

Use Authorization: Bearer brew_xxxxx header

Path Parameters

automationId
string
required

The automation ID

Response

Automation trigger information

automationId
string

The automation ID

name
string

The automation name

status
enum<string>

Current automation status

Available options:
draft,
active,
paused,
stopped
isEnabled
boolean

Whether the automation is enabled

isPublished
boolean

Whether the automation has been published

eventDefinition
object

The configured event trigger

endpoint
string

The API endpoint URL for triggering this automation