Update a workflow
Applies a partial update to a workflow: only the fields present in attributes are changed. Use it to rename, enable or disable, or edit the trigger and blocks. Returns the updated workflow.
API key authentication. Send your key in the Authorization header as: api-key <your-api-key>.
In: header
Path Parameters
The workspace slug — the {slug} segment of your Clarify workspace URL.
The unique ID of the workflow.
Query Parameters
When true, suppresses in-app and Slack notifications for this mutation and batches its live updates, so open views can lag by up to 20 seconds.
Header Parameters
The API version for this request. Send 2026-11 to get the behavior documented here. Omit it to use your API key's version, which this header can raise but not lower.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/workspaces/string/workflows/string" \ -H "clarify-version: 2026-11" \ -H "Content-Type: application/json" \ -d '{ "data": { "type": "workflow", "id": "f2a4c6e8-0b1d-4e3f-8a5c-7d9e1f3a5b7c", "attributes": { "enabled": true } } }'{ "data": { "type": "workflow", "id": "f2a4c6e8-0b1d-4e3f-8a5c-7d9e1f3a5b7c", "attributes": { "_id": "f2a4c6e8-0b1d-4e3f-8a5c-7d9e1f3a5b7c", "name": "Create a task for every new deal", "description": "When a deal is created, add a follow-up task for the owner.", "enabled": true, "type": "workflow", "published_at": "2026-01-15T09:30:00.000Z", "trigger": { "_id": "trigger", "plugin_id": "on:clarify:create:record", "filters": [], "input": { "entity": "deal" }, "prev": null, "next": "create_task" }, "blocks": { "create_task": { "_id": "create_task", "plugin_id": "clarify:create:record", "filters": [], "input": { "entity": "task", "attributes": { "name": "Follow up on new deal" } }, "prev": "trigger", "next": null } }, "exits": {}, "run_limits": {}, "_created_at": "2026-01-15T09:30:00.000Z", "_created_by": "7d4e2f9a-1b3c-4d5e-8f6a-9c0b2d4e6f81", "_updated_at": "2026-02-01T17:45:00.000Z", "_updated_by": "7d4e2f9a-1b3c-4d5e-8f6a-9c0b2d4e6f81" } }}List workflows
Returns the workspace’s workflows as an offset-paginated list of JSON:API resources. Use the `type` filter to return only sequences (campaigns) or general workflows.
Reset a workspace setting
Removes the stored value of a workspace setting so it falls back to its default. Only a workspace admin can reset settings. API keys cannot reset settings. Read-only settings are rejected.