Cancel a scheduled call
Cancel a scheduled call that hasn't started yet. The row is deleted.
DELETE
https://api.centerfy.ai/webhooks/inbound/scheduled-calls/:id 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 | Yes | The scheduled call id (a numeric string, e.g. 1842). |
Example
curl -X DELETE "https://api.centerfy.ai/webhooks/inbound/scheduled-calls/{id}" \
-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.scheduledCalls.cancel("<scheduledCallId>");
console.log(result); centerfy scheduledCalls cancel <scheduledCallId> MCP tool: centerfy_scheduled_calls_cancel (see MCP server)
Response
{
"status": "success",
"cancelled": true,
"scheduled_call_id": "1842"
}Errors
404— if the scheduled call is not in this sub-account.
Notes
Only pending calls can be cancelled: 409 (with scheduled_call_status) once the call is processing, completed or failed, or if it started while you were cancelling.