Move an opportunity to a stage
Move an opportunity to another stage, optionally in another pipeline. Fires your “pipeline stage changed” workflows.
POST
https://api.centerfy.ai/webhooks/inbound/opportunities/:id/move 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 opportunity id. |
Body parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
stage_id | string (uuid) | Yes | — | Target stage. |
pipeline_id | string (uuid) | No | — | Target pipeline, when moving across pipelines; stage_id must belong to it. |
Request body
{
"stage_id": "1c7a3d2f-4b5e-4f60-9a1b-2c3d4e5f6a71"
}Example
curl -X POST "https://api.centerfy.ai/webhooks/inbound/opportunities/{id}/move" \
-H "x-api-key: $CENTERFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"stage_id": "1c7a3d2f-4b5e-4f60-9a1b-2c3d4e5f6a71"
}' import { CenterfyClient } from "@centerfy/sdk";
const centerfy = new CenterfyClient({ apiKey: process.env.CENTERFY_API_KEY! });
const result = await centerfy.opportunities.move("<opportunityId>", {
"stage_id": "1c7a3d2f-4b5e-4f60-9a1b-2c3d4e5f6a71"
});
console.log(result); centerfy opportunities move <opportunityId> '{"stage_id":"1c7a3d2f-4b5e-4f60-9a1b-2c3d4e5f6a71"}' MCP tool: centerfy_opportunities_move (see MCP server)
Response
{
"status": "success",
"opportunity": {
"id": "9e4c5f61-7d8a-4b92-8c3d-4e5f6a7b8c93",
"name": "Acme — annual plan",
"contact_id": "3f1c2a9e-7b4d-4c8a-9e2f-1a2b3c4d5e6f",
"company_id": null,
"pipeline_id": "7d2e9f10-4b3c-4a1d-9e8f-2a3b4c5d6e7f",
"stage_id": "0b6f2c1e-3a4d-4e5f-8a9b-1c2d3e4f5a60",
"monetary_value": 1200,
"source": "website",
"status": "open",
"assigned_to": null,
"created_at": "2026-10-03T12:00:00.000Z",
"updated_at": "2026-10-03T12:00:00.000Z"
}
}Errors
400— if the stage isn’t in the pipeline; 404 if the opportunity or pipeline is not in this sub-account.