Automations
Update a trigger
Updates one or more editable fields (title, description, payloadSchema). Whether a trigger fires is governed solely by automation.published on each wired automation — there is no per-trigger off-switch. Integration-provisioned triggers are immutable here (422 TRIGGER_IMMUTABLE). Returns the bare updated row.
patch/v1/automations/triggers/{triggerEventId}
Request
- Base URLhttps://brew.new/api
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScripthttps://skmtc.dev/brew/apis/brew-public-api-v1/docs/v1/automations/triggers/:triggerEventId/patch.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
triggerEventIdstring required
Trigger id returned by POST /v1/automations/triggers. Custom triggers use tri_… ids; integration triggers use composite ids (e.g. clerk:org_…:brand_…:user.created, URL-encode the colons).
Example:tri_signup
Request body
Response
Updated.
Changes
No recorded changes to this operation across all 1 revision of this API.