# Suppressions tools

[All tool areas](/docs/tools.md). Each tool acts within your access.

## Suppressions

### lift_suppression

Lift a spam-complaint suppression, so Lokl emails that address for this organization again, from then on: messages skipped while it held aren't sent. Only for a guest who asks to hear from you again: they marked one of your messages as spam once. A hard bounce (the address doesn't exist) can't be lifted. Needs customers:contact across the whole organization. Undo puts it back while no other complaint has been recorded for the address since. Returns a preview to confirm.

Changes · Members of an organization · Needs customers:contact

#### Input

- `suppressionId` — string; required. The suppression's id, from list_suppressions

#### Output

- `id` — string; required. 
- `liftedAt` — string; required.  format: "date-time"

### list_suppressions

List the email addresses Lokl won't send to for this organization, newest first: addresses that bounced for good (the address doesn't exist, so it holds for every organization on Lokl; shown here when one of your messages was to it) and addresses whose guest marked one of your messages as spam (only yours, and it can be lifted with lift_suppression). A message to a suppressed address is skipped in the send log with the reason `suppressed`. By default only the ones in force; `status` says lifted or all. Needs customers:contact across the whole organization. Page back with `before`.

Reads · Members of an organization · Needs customers:contact

#### Input

- `status` — string; optional.  Allowed: "active", "lifted", "all"; default: "active"
- `limit` — integer; optional. The most results to return (default 50) minimum: 1; maximum: 100; default: 50
- `before` — string; optional. A suppression id; returns ones older than it

#### Output

- `suppressions` — array; required. 
  - `suppressions[]` — object; optional. 
    - `suppressions[].id` — string; required. 
    - `suppressions[].address` — string; required. 
    - `suppressions[].reason` — string; required.  Allowed: "hard\_bounce", "complaint"
    - `suppressions[].scope` — string; required. A hard bounce holds for every organization on Lokl (the address doesn't exist); a complaint only for this one Allowed: "all\_organizations", "this\_organization"
    - `suppressions[].since` — string; required.  format: "date-time"
    - `suppressions[].liftedAt` — string or null; required.  format: "date-time"
    - `suppressions[].canLift` — boolean; required. A complaint that hasn't been lifted. A hard bounce can't be lifted: the address doesn't exist, and it stops mattering once the guest's email is corrected
- `nextBefore` — string or null; required. 
