Workflows
Update a workflow
Sparse update — omitted fields are left unchanged.
Two state rules apply: the trigger (trigger_type/event_name/interval_ms) cannot be changed while the workflow has running executions (409), and enabled: true is refused while any step is still unconfigured (422), because an enabled workflow accepts contacts immediately and would otherwise fail only once one reached the broken step.
sequence REPLACES every non-trigger step with a linear chain and is likewise refused while executions are running. Omit it to leave the graph untouched.
Requires the workflows:write scope — Create, edit, enable, and delete your automation workflows.
patch/api/v1/workflows/{id}
Request
- Base URL: https://api.sendly.now
- URL: https://api.sendly.now/api/v1/workflows/{id}
- Auth: one of:
- HTTP bearer
- API key in cookie better-auth.session_token
- OAuth 2 (authorization code, authorization URL https://app.sendly.now/api/auth/oauth2/authorize, token URL https://app.sendly.now/api/auth/oauth2/token, scopes: workflows:write)
Path parameters
idstring uuid required
Workflow id.
Request body
Response
Updated workflow
Changes
No recorded changes to this operation across all 1 revision of this API.