> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequenzy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel Campaign

> Cancel a scheduled or sending campaign

Cancel a campaign in `sending`, `paused`, `scheduled`, `waiting_approval`, or `rejected` status. Pending send jobs are removed, and any remaining recipients are not emailed. Cancelled campaigns cannot be resumed. To edit and schedule a scheduled campaign again, [unschedule it](/api-reference/campaigns/unschedule) instead.

## Request

<ParamField path="campaignId" type="string" required>
  Campaign ID.
</ParamField>

This endpoint does not accept a request body.

```bash theme={null}
curl -X POST "https://api.sequenzy.com/api/v1/campaigns/camp_abc123/cancel" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Responses

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "campaign": {
      "id": "camp_abc123",
      "name": "April Launch",
      "subject": "A quick update",
      "status": "cancelled",
      "labels": [],
      "scheduledAt": "2026-06-01T14:00:00.000Z",
      "sentAt": null,
      "createdAt": "2026-05-20T10:00:00.000Z",
      "url": "https://sequenzy.com/dashboard/company/comp_abc123/campaign/camp_abc123",
      "previewUrl": "https://sequenzy.com/dashboard/company/comp_abc123/campaign/camp_abc123?step=review"
    }
  }
  ```

  ```json 400 theme={null}
  {
    "error": "Cannot cancel a campaign in \"sent\" status."
  }
  ```

  ```json 401 theme={null}
  {
    "error": "Invalid API key"
  }
  ```

  ```json 404 theme={null}
  {
    "error": "Campaign not found"
  }
  ```

  ```json 409 theme={null}
  {
    "error": "Campaign status has changed and can no longer be cancelled."
  }
  ```
</ResponseExample>
