---
title: "Add a suppression"
method: POST
path: "/suppressions"
tags: ["governance"]
---

# Add a suppression

`POST /suppressions`

## Request

- Base URL: `https://api.mailly.site` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mailly.site/suppressions`
- Auth: HTTP bearer

## Request body

- object
  - `email` string
  - `scope` 'workspace' | 'sender' | 'topic'
  - `senderEmail` string
  - `topic` string
  - `reason` 'unsubscribed' | 'hard_bounce' | 'complaint' | 'manual'
  - `source` string
  - `campaignId` string
  - `messageId` string

## Response `201`

Created

- object
  - `success` boolean, required
  - `id` string, required

## Other responses

- `400`: Invalid parameters
- `401`: Missing or invalid API key

---

[API](https://skmtc.dev/mailly/apis/mailly-api.md) · [All operations](https://skmtc.dev/mailly/apis/mailly-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mailly/apis/mailly-api/revisions/1ceb29637301?raw)
