# Suppressions

The suppression list holds the addresses nothing is sent to. It protects the people on it, and your reputation as a sender.

## Why an address is on it

- `bounce`: mail to the address was refused for good.
- `complaint`: the person marked your mail as spam.
- `manual`: you put the address there.

The list belongs to the workspace and is kept by the sending platform.

cURL:

```bash
curl "$OPENSEND_API_URL/v1/suppressions?reason=bounce&limit=20" \
  -H "Authorization: Bearer $OPENSEND_API_KEY"
```

TypeScript:

```ts
await opensend.suppressions.list({
  reason: 'bounce',
  limit: 20,
})
```

CLI:

```bash
opensend suppressions list --reason bounce --limit 20
```

MCP:

```json
{
  "name": "suppressions_list",
  "arguments": {
    "reason": "bounce",
    "limit": 20
  }
}
```

suppressions.list:

```json
{
  "object": "list",
  "data": [
    {
      "object": "suppression",
      "id": "sup_01",
      "email": "old-address@example.net",
      "reason": "bounce",
      "detail": "550 5.1.1 The email account does not exist.",
      "removable": true,
      "createdAt": "2026-11-20T14:02:11.000Z"
    }
  ],
  "hasMore": false,
  "next": null,
  "connected": true
}
```

This list is read in pages with a cursor: send the `next` of one page as `cursor` to get the page after it. `connected` is `false` when sending is not connected on this server, and the list is then empty.

## Stop sending to an address

cURL:

```bash
curl -X POST "$OPENSEND_API_URL/v1/suppressions" \
  -H "Authorization: Bearer $OPENSEND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "email": "ada@example.com"
}'
```

TypeScript:

```ts
await opensend.suppressions.create({
  email: 'ada@example.com',
})
```

CLI:

```bash
opensend suppressions create --email ada@example.com
```

MCP:

```json
{
  "name": "suppressions_create",
  "arguments": {
    "email": "ada@example.com"
  }
}
```

## Send to an address again

Take the entry off the list by its id. An address that complained stays: its entry has `removable` set to `false`.

cURL:

```bash
curl -X DELETE "$OPENSEND_API_URL/v1/suppressions/sup_01" \
  -H "Authorization: Bearer $OPENSEND_API_KEY"
```

TypeScript:

```ts
await opensend.suppressions.remove('sup_01')
```

CLI:

```bash
opensend suppressions remove sup_01
```

MCP:

```json
{
  "name": "suppressions_remove",
  "arguments": {
    "id": "sup_01"
  }
}
```
