v1

latestOpenAPI 3.1.02026-07-2670105729.6 KB
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}

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

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).

Request body

titlestring
descriptionstring

Response

Updated.

triggerEventIdstring required
titlestring required
descriptionstring
provider'brew_api' | 'clerk' | 'stripe' | 'shopify' | 'stytch' | 'supabase' | 'workos' | 'revenuecat' | 'custom' required
providerEventKeystring
createdAtstring date-time required
updatedAtstring date-time required