Skip to main content

Unschedule Campaign

Cancel a scheduled send. The campaign returns to draft status and its scheduled_at is cleared โ€” it will not be sent unless you send or schedule it again.

POST /v1/campaigns/{id}/unschedule

Authenticationโ€‹

Requires a valid API key with campaigns:write scope.

Path Parametersโ€‹

ParameterTypeDescription
idintegerThe campaign ID

Prerequisitesโ€‹

  • The campaign must be in scheduled status

Request Exampleโ€‹

curl -X POST "https://app.equipdash.com/api/v1/campaigns/42/unschedule" \
-H "Authorization: Bearer eqd_live_your_api_key"

Response (200 OK)โ€‹

Returns the campaign with status draft and scheduled_at set to null.

{
"data": {
"id": 42,
"name": "Summer Kayak Promo",
"description": "Promote summer kayak rentals",
"kind": "one_off",
"channel": "email",
"status": "draft",
"audience_type": "filter",
"audience_filter": {
"v": 2,
"preset": "recent"
},
"email_subject": "Summer is here, {customer_name}!",
"email_body": "<p>Hi {customer_name}, book your kayak now.</p>",
"template_key": "promo_blast",
"cta_text": "Book now",
"cta_url": "https://example.com/book",
"scheduled_at": null,
"sent_at": null,
"total_recipients": 250,
"total_sent": 0,
"created_at": "2026-07-01T09:00:00+00:00",
"updated_at": "2026-07-20T11:00:00+00:00"
},
"meta": {
"request_id": "req_abc123",
"timestamp": "2026-07-20T11:00:00+00:00"
}
}

Error Responsesโ€‹

StatusCodeDescription
403insufficient_scopeAPI key lacks campaigns:write scope
404resource_not_foundCampaign not found
422invalid_stateOnly scheduled campaigns can be unscheduled