Get your API key
API reference

Suppressions

The Suppressions endpoints.

Auth: Session token · Base URL: https://api.mailkite.dev

Endpoints

Each row expands to its request and response schema. The address bar follows along, so any endpoint can be linked to directly.

GET /api/contacts/suppressions List suppressed addresses (unsubscribes, hard bounces, spam complaints, manual). Sends to a suppressed address are dropped before delivery.

List suppressed addresses (unsubscribes, hard bounces, spam complaints, manual). Sends to a suppressed address are dropped before delivery.

Response body

suppressions-response.json
FieldTypeNotes
suppressions req object[]Addresses this account will not send to, newest first. Sends to a suppressed address are dropped before delivery.
suppressions[].id req stringSuppression id (sup_…).
suppressions[].user_id req stringOwning account (usr_…).
suppressions[].email req stringThe suppressed address (normalized lowercase).
suppressions[].reason req "unsubscribe" · "hard_bounce" · "spam_complaint" · "manual"Why the address is suppressed.
suppressions[].origin req stringWho created it: system (bounce/complaint webhook) or customer (manual/API).
suppressions[].note req string · nullFree-text note attached at creation — null when none.
suppressions[].created_at req numberCreation time, ms epoch.
POST /api/contacts/suppressions Suppress an address so this account never sends to it again (reason defaults to manual).

Suppress an address so this account never sends to it again (reason defaults to manual).

Request body

add-suppression-request.json
FieldTypeNotes
email req stringThe address to stop sending to.
reason"unsubscribe" · "hard_bounce" · "spam_complaint" · "manual"Why — defaults to manual when omitted or unrecognized.
notestringOptional free-text note (who/why), shown alongside the entry.

Response body

add-suppression-response.json
FieldTypeNotes
suppressed req booleanAlways true on success.
email req stringThe normalized address that was suppressed.
DELETE /api/contacts/suppressions/:email Remove an address from the suppression list (URL-encode the email in the path). Removing an unsuppressed address is a no-op success.

Remove an address from the suppression list (URL-encode the email in the path). Removing an unsuppressed address is a no-op success.

Response body

remove-suppression-response.json
FieldTypeNotes
removed req booleanAlways true — removing an address that was not suppressed is a no-op success.