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โ
| Parameter | Type | Description |
|---|---|---|
id | integer | The campaign ID |
Prerequisitesโ
- The campaign must be in
scheduledstatus
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โ
| Status | Code | Description |
|---|---|---|
| 403 | insufficient_scope | API key lacks campaigns:write scope |
| 404 | resource_not_found | Campaign not found |
| 422 | invalid_state | Only scheduled campaigns can be unscheduled |