Update a stage

Rename, recolour or move a stage. Moving renumbers the other stages so positions stay contiguous.

PATCH https://api.centerfy.ai/webhooks/inbound/pipelines/:id/stages/:stageId

Headers

HeaderRequiredValueDescription
x-api-keyYesyour sub-account API key (cfy_…)Authenticates the request; or use Authorization: Bearer <key>.

Path parameters

NameTypeRequiredDescription
idstring (uuid)YesThe pipeline id.
stageIdstring (uuid)YesThe stage id (must belong to the pipeline).

Body parameters

NameTypeRequiredDefaultDescription
namestringNo—New stage name.
positionintegerNo—Move the stage to this 0-based position.
colorstringNo—Hex colour.

Request body

{
  "position": 0
}

Example

curl -X PATCH "https://api.centerfy.ai/webhooks/inbound/pipelines/{id}/stages/{stageId}" \
  -H "x-api-key: $CENTERFY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "position": 0
}'
import { CenterfyClient } from "@centerfy/sdk";

const centerfy = new CenterfyClient({ apiKey: process.env.CENTERFY_API_KEY! });

const result = await centerfy.pipelines.updateStage("<pipelineId>", "<stageId>", {
  "position": 0
});
console.log(result);
centerfy pipelines update-stage <pipelineId> <stageId> '{"position":0}'

MCP tool: centerfy_pipelines_update_stage (see MCP server)

Response

{
  "status": "success",
  "stage": {
    "id": "2d8b4e30-5c6f-4071-8b2c-3d4e5f6a7b82",
    "pipeline_id": "7d2e9f10-4b3c-4a1d-9e8f-2a3b4c5d6e7f",
    "name": "Demo booked",
    "position": 1,
    "color": "#8B5CF6",
    "created_at": "2026-10-02T09:30:00.000Z",
    "updated_at": "2026-10-02T09:30:00.000Z"
  }
}

Errors

  • 404 — if the pipeline or stage is not in this sub-account.

Notes

Send at least one field.

© 2026 Centerfy AI. All rights reserved.