Skip to main content
PATCH
Changes state - verify before retry
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.
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 /v1.

When To Use Update Workflow Status

  • Use activate when a validated workflow should start execution for its leads.
  • Use deactivate when an active workflow should stop accepting new execution work.
  • Use pause when a running workflow needs a temporary stop.
  • Use resume when 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 includes data.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 Request means the action is invalid, the workflow status does not allow the transition, or workflow validation failed.
  • 403 Forbidden means the workflow does not belong to the authenticated workspace.
  • 404 Not Found means the workflow ID was not found.
See Errors for the standard error format.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Workflow ID

Example:

"workflow_abc123"

Body

application/json
action
enum<string>
required

The workflow status transition to apply.

Available options:
activate,
deactivate,
pause,
resume
Example:

"activate"

Response

Workflow status updated successfully.

statusCode
number
Example:

200

message
string
Example:

"Workflow activated successfully"

data
object