Skip to main content
DELETE
/
api
/
v1
/
campaigns
/
{campaign_id}
curl -X DELETE "https://api.foxreach.io/api/v1/campaigns/cmp_abc123" \
  -H "X-API-Key: otr_your_key"
{
  "data": {
    "id": "cmp_abc123",
    "deleted": true
  }
}

Path Parameters

campaign_id
string
required
The unique identifier of the campaign.
curl -X DELETE "https://api.foxreach.io/api/v1/campaigns/cmp_abc123" \
  -H "X-API-Key: otr_your_key"
{
  "data": {
    "id": "cmp_abc123",
    "deleted": true
  }
}

Errors

StatusDescription
400Only draft campaigns can be deleted
404Campaign not found
Only campaigns in draft status can be deleted. Pause active campaigns first, or archive them through the dashboard.

Rate Limit

  • 100 requests per minute, per API key. Fixed 60-second window.
  • Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset (unix epoch seconds).
  • A 429 response includes a Retry-After header (seconds until the bucket resets).
For client-side patterns (Retry-After, exponential backoff, monitoring X-RateLimit-Remaining), see Rate Limiting.