Activate a workflow
Activate a workflow. Executions paused by a deactivation resume, so messages and calls may go out right away.
POST
https://api.centerfy.ai/webhooks/inbound/workflows/:id/activate Headers
| Header | Required | Value | Description |
|---|---|---|---|
x-api-key | Yes | your sub-account API key (cfy_…) | Authenticates the request; or use Authorization: Bearer <key>. |
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Yes | The workflow id. |
Example
curl -X POST "https://api.centerfy.ai/webhooks/inbound/workflows/{id}/activate" \
-H "x-api-key: $CENTERFY_API_KEY" import { CenterfyClient } from "@centerfy/sdk";
const centerfy = new CenterfyClient({ apiKey: process.env.CENTERFY_API_KEY! });
const result = await centerfy.workflows.activate("<workflowId>");
console.log(result); centerfy workflows activate <workflowId> MCP tool: centerfy_workflows_activate (see MCP server)
Response
{
"status": "success",
"changed": true,
"workflow": {
"id": "5a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"name": "New lead follow-up",
"description": "Text and call new leads within 5 minutes",
"folder_id": "6b2c3d4e-5f6a-4b7c-9d8e-0f1a2b3c4d5e",
"folder_name": "Lead nurture",
"trigger_type": "contact_created",
"trigger_types": [
"contact_created"
],
"is_active": true,
"deactivated_at": null,
"created_at": "2026-09-20T10:00:00.000Z",
"updated_at": "2026-10-01T08:30:00.000Z"
}
}Errors
404— if the workflow is not in this sub-account.
Notes
Idempotent: changed is false if the workflow was already active. No request body.