Workflows
Update Workflow Status
Activate, pause, deactivate, or resume a v1 workflow.
PATCH
Changes state - verify before retry
Update Workflow Status changes whether a workflow is running, paused, or inactive. Use this endpoint instead of the older action-specific workflow endpoints when integrating with
Recommended. This endpoint is part of the public
/v1 API reference and is the supported path for new integrations. See the migration guide for versioning guidance./v1.
When To Use Update Workflow Status
- Use
activatewhen a validated workflow should start execution for its leads. - Use
deactivatewhen an active workflow should stop accepting new execution work. - Use
pausewhen a running workflow needs a temporary stop. - Use
resumewhen a paused workflow should continue.
Status Actions
Each action moves the workflow to a specific status:
See Workflow Statuses for the full status model, activation validation rules, and how lead-level statuses differ from the workflow container status.
Verify The Result
The response includesdata.status. Confirm that the status matches the requested transition, then call Get Workflow Details if your integration needs to refresh the full workflow record.
Common Errors
400 Bad Requestmeans the action is invalid, the workflow status does not allow the transition, or workflow validation failed.403 Forbiddenmeans the workflow does not belong to the authenticated workspace.404 Not Foundmeans the workflow ID was not found.
Related Endpoints
- List Workflows: find workflows in your workspace.
- Get Workflow Details: fetch a workflow by ID.
- Workflow Leads: inspect leads attached to a workflow.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Workflow ID
Example:
"workflow_abc123"
Body
application/json
The workflow status transition to apply.
Available options:
activate, deactivate, pause, resume Example:
"activate"