Skip to main content
PATCH /workflows/:id Rename an agent, edit its description, or activate/pause it. Agents are born paused when created via the API — this is the only way to turn one on programmatically.

Path Parameters

ParameterTypeRequiredDescription
idstring (uuid)YesAgent ID

Request Body

Provide at least one of the following.
FieldTypeRequiredDescription
is_pausedbooleanNofalse activates the agent, true pauses it
namestringNoNew agent name
descriptionstringNoNew agent description

Responses

200 — Updated

{
  "success": true,
  "workflow_id": "123e4567-e89b-12d3-a456-426614174000",
  "is_paused": false,
  "pending_runs": 3
}
pending_runs is only present when activating, and reflects leads whose cadence resumes immediately.

400 — Validation error

{
  "error": "Invalid input",
  "message": "Provide is_paused, name or description"
}

400 — Activation blocked

Appointment-goal agents need at least one active meeting type before they can be activated:
{
  "error": "Activation blocked",
  "message": "Configure at least one active meeting type before activating this workflow."
}

401 — Authentication error

See Authentication.

404 — Not found

{
  "error": "Not found",
  "message": "Workflow not found"
}

500 — Internal server error

Last modified on July 10, 2026