Trigger an automation with a custom payload. The payload is validated against the automation’s configured schema before execution.
Permission required: automations or all
Identifier formats:
lead_generated, user_signup, order_placedThe API auto-detects which format is provided. Event IDs are scoped to your organization.
Prerequisites:
Payload validation:
The request payload is validated against the automation’s payload schema.
Required fields must be present and all fields must match their expected types.
The email field is ALWAYS required in the payload.
Use Authorization: Bearer brew_xxxxx header
The event ID or automation ID. Accepts two formats:
lead_generated, user_signup)The event payload. Must conform to the automation's configured schema.
Important: The email field is ALWAYS required at the root level.
Brew uses this email to automatically look up or create a contact.
Keep payloads flat and minimal - avoid nested objects when possible. Typical fields: email, firstName, orderId, etc.
Optional metadata to attach to the execution. This data is not validated against the schema and is stored for reference only.
Automation triggered successfully
true Unique identifier for this automation execution
The automation that was triggered
The event ID configured for this automation
Initial status of the execution
running Contact upsert result - contacts are automatically created or updated based on the email in the payload
Present if the email delivery will be blocked