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

# Cancelar Campanha

Cancela uma campanha agendada, ou interrompe uma campanha em envio: quem ainda estava na fila não recebe (`skipped_count`). Os emails que já saíram não voltam. Uma campanha cancelada não pode ser reativada; use [Duplicar](https://docs.selltrust.com.br/api-reference/campaigns/duplicate.md).

> [!NOTE]
>
> Exige a permissão **Gerenciar Marketing** (`MANAGE_MARKETING`) do usuário que criou o token. Veja [Permissões do token](https://docs.selltrust.com.br/api-reference/permissions.md).

**Authorization** `string` *required*

Token de API no formato `Bearer stk_live_...`.

**id** `string` *required*

ID da campanha (agendada ou em envio).

```json Response theme={null}
{
  "id": "uuid-da-campanha",
  "store_id": "uuid-da-loja",
  "name": "Lançamento de novembro",
  "subject": "Novidades para você, {{ customer.first_name }}",
  "html": "<!doctype html>\n<html lang=\"pt-BR\">…</html>",
  "audience": {
    "match": "ALL",
    "rules": [
      {
        "type": "PURCHASED_LAST_DAYS",
        "days": 30
      },
      {
        "type": "TOTAL_SPENT",
        "operator": "GT",
        "value": 300
      }
    ]
  },
  "status": "CANCELED",
  "scheduled_at": null,
  "started_at": "2026-11-10T15:00:00.000Z",
  "finished_at": null,
  "canceled_at": "2026-11-10T15:02:00.000Z",
  "total_recipients": 128,
  "sent_count": 31,
  "failed_count": 0,
  "skipped_count": 97,
  "error": null,
  "created_by": "uuid-do-usuario",
  "created_at": "2026-11-10T14:30:00.000Z",
  "updated_at": "2026-11-10T14:30:00.000Z",
  "pending_count": 0,
  "attributed_orders": 0,
  "attributed_revenue": 0
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.