Delete a campaign

Permanently delete a campaign.

DELETE https://api.centerfy.ai/webhooks/inbound/campaigns/:id

Headers

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

Path parameters

NameTypeRequiredDescription
idstring (uuid)YesThe campaign id.

Example

curl -X DELETE "https://api.centerfy.ai/webhooks/inbound/campaigns/{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.campaigns.delete("<campaignId>");
console.log(result);
centerfy campaigns delete <campaignId>

MCP tool: centerfy_campaigns_delete (see MCP server)

Response

{
  "status": "success",
  "deleted": true,
  "campaign_id": "4b7e1c2d-3a4f-4e5d-9c8b-7a6f5e4d3c2b"
}

Errors

  • 409 — while the campaign is running.
  • 404 — if the campaign is not in this sub-account.
© 2026 Centerfy AI. All rights reserved.