---
title: "Add to suppression list"
method: POST
path: "/suppression"
tags: ["Suppression"]
---

# Add to suppression list

`POST /suppression`

## Request

- Base URL: `https://www.sagaris.ai/api/v1`
- URL: `https://www.sagaris.ai/api/v1/suppression`
- Auth: HTTP bearer

Add an email to the workspace suppression list. Provide an email directly, or a contact_id that resolves to its email within the key's workspace. Upserts on (workspace_id, email). Requires the suppression.write scope.

## Headers

- `Idempotency-Key` string

## Request body

- object: Provide either email or contact_id.
  - `email` string, email
  - `contact_id` string: A contact in the key's workspace; resolves to its email.
  - `reason` string: Suppression reason; defaults to manual.

## Response `201`

The suppression row.

- object
  - `data` Suppression, required
    - `id` string
    - `workspace_id` string
    - `email` string
    - `reason` string, nullable
    - `source` string, nullable
    - `created_at` string, date-time
  - `error` unknown, required

## Other responses

- `400`: Invalid JSON body or field validation failure.
- `401`: Missing, malformed, invalid, revoked, or expired API key.
- `403`: The key does not hold the required scope for this operation.
- `404`: The referenced resource was not found in the key's workspace.
- `429`: Per-key write rate limit exceeded (60 requests / 60s).
- `500`: Lookup or upsert failure.
- `503`: The database / API-keys table is not provisioned.

---

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