---
title: "Suppress a contact (adds a workspace suppression)"
method: POST
path: "/contacts/{externalContactId}/suppress"
tags: ["contacts"]
---

# Suppress a contact (adds a workspace suppression)

`POST /contacts/{externalContactId}/suppress`

## 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/contacts/{externalContactId}/suppress`
- Auth: HTTP bearer

## Path parameters

- `externalContactId` string, required: Stable key of the external contact

## Request body

- object
  - `reason` 'unsubscribed' | 'hard_bounce' | 'complaint' | 'manual'
  - `source` string

## Response `200`

Suppressed

- object
  - `success` boolean, required
  - `suppressionId` string, required
  - `contact` object, required

## Other responses

- `400`: Invalid parameters
- `401`: Missing or invalid API key
- `404`: Contact not found
- `409`: Conflict

---

[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)
