Fire a trigger event
Fires a published trigger event by its internal triggerEventId. The path is fixed at /v1/events — trigger names, titles, and providerEventKey are descriptors and never appear in the URL.
On success, every published automation attached to the trigger is started and its executionId is returned. Published transactional emails attached to the trigger are also delivered as part of the same fire.
Idempotency
Send a stable Idempotency-Key HTTP header on every retry — Brew namespaces the token with your org and dedups on (provider="brew_api", externalEventId) so a replay returns the original executionIds (status idempotent_replay) instead of starting new workflow runs. The legacy body field idempotencyKey is supported for back-compat; new integrations should use the header.
Brand scoping: the trigger event must belong to the API key brand. A 403 BRAND_SCOPE_MISMATCH is returned when the matched trigger is in a different brand.
Authorizations
Send your Brew API key as Authorization: Bearer brew_xxx.
Headers
Optional idempotency key for safe retries. Reusing the same key with the same request body returns the original response for 24 hours.
1 - 100Body
Trigger fire request.
Internal id of the published trigger event to fire. Returned by POST /api/v1/triggers and listed in GET /api/v1/triggers. Accepts both custom brew_api ids and composite integration ids (≤ 256 chars). The trigger title and providerEventKey are descriptors and are NEVER URL segments — the path is fixed at /api/v1/automation/runs.
1 - 256Event payload — fields and types must match the trigger's payloadSchema. Unknown fields are accepted but reported as unexpected_key warnings.
Legacy body-field alternative to the Idempotency-Key HTTP header. Prefer the header for new integrations. The token is namespaced server-side with the API key org so different tenants cannot collide.
1 - 100Response
The trigger was accepted and matched (or replayed via idempotency).
Discriminator for the response category. Pairs with code. A trigger with no published automation attached returns status: "failed" + code: "NO_PUBLISHED_AUTOMATION" (HTTP 422). Successful fires always return status: "triggered".
triggered, idempotent_replay, ready, invalid_api_key, invalid_json, failed, forbidden, payload_mismatch, trigger_event_not_found ISO-8601 timestamp the request was processed at.