Skip to content
couryo

Developer guideEvents

Suppression

Couryo's suppression list protects your reputation. Reasons, streams, and how to list, add and remove addresses through the API.

View as Markdown

The suppression list holds addresses Couryo will no longer send to. It protects your reputation: insisting on an address that does not exist, or on someone who complained, drags down delivery of all your email.

Reasons#

reason When it is added Applies to
hard_bounce the address does not exist (5.1.x) all streams
complaint the recipient marked the email as spam all streams
unsubscribe the recipient unsubscribed only the stream they unsubscribed from (usually marketing)
manual you added it the stream you choose

A marketing unsubscribe never blocks transactional email: someone who left the newsletter still gets the password reset.

What happens when sending#

If some recipients are suppressed, the email goes to the others and the timeline gets a suppressed event for each skipped address. If every recipient is suppressed, the send is refused with 422 recipient_suppressed, and param points to the first one (to[0]). In a batch, only the affected item is refused.

Temporary bounces (4.x.x) also lead to suppression when the same address bounces on 3 different days.

List#

cURL
curl "https://api.couryo.com/v1/suppressions?limit=25" \
  -H "Authorization: Bearer $COURYO_API_KEY"
Response
{
  "data": [
    { "email": "maria@company.com", "reason": "hard_bounce", "stream": "all", "created_at": "2026-10-07T18:31:04Z" }
  ],
  "has_more": false
}

Add#

cURL
curl https://api.couryo.com/v1/suppressions \
  -H "Authorization: Bearer $COURYO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "email": "do-not-send@example.com", "stream": "marketing" }'

Remove#

cURL
curl -X DELETE https://api.couryo.com/v1/suppressions/maria@company.com \
  -H "Authorization: Bearer $COURYO_API_KEY"

The manual and hard_bounce entries of the address leave (204). Remove a bounce only when you are sure the problem is solved (for example, the person confirmed the address works again).

Complaints and unsubscribes do not leave through the dashboard, the API or MCP: the answer is 403 suppression_not_removable, with the explanation. Under privacy law and the Gmail and Yahoo rules, whoever marked you as spam or asked to leave only receives again by their own choice: ask the person to sign up again on your site or app (a new opt-in) and send from there. On an address with both kinds (for example, a bounce and an unsubscribe), the bounce leaves and the unsubscribe stays.

Sync by cron#

With since (ISO 8601), the list brings only what came in from that moment on, oldest first. Keep the created_at of the last item you saw and use it on the next cron run; with has_more: true, continue with starting_after (the address of the last item).

What came in since last time
curl "https://api.couryo.com/v1/suppressions?since=2026-10-12T00:00:00Z&limit=100" \
  -H "Authorization: Bearer $COURYO_API_KEY"

Items with the same time as since come back again: treat the address as the key and ignore repeats. In real time, the suppression.created and suppression.deleted webhooks tell the same.

Scopes and filters#

  • Listing needs the read scope; adding and removing, admin.
  • The list accepts q (part of the address), reason, stream, since and limit (default 100), with starting_after for the next page.
  • Added addresses always get the manual reason; stream can be transactional, marketing or all (default). An address already on the list returns 409 already_suppressed.

Through MCP#

Through the MCP server: list_suppressions (scope read) and remove_suppression (scope admin). Removing requires confirm: true, so the agent asks you first, and follows the same rule: complaints and unsubscribes are refused before the confirmation.