List suppressed email addresses
GET/v1/suppressions
Requires an API key with the suppressions:read scope. About keys and scopes
Works with integration, agent and partner keys.
Lists the email addresses this workspace blocks, newest first, whether or not a contact still exists for each. Filter by email to check one address exactly (normalised as stored), by query to match any part of the address, by reason, or by createdAfter and createdBefore (half-open) to keep another system in step with the blocks made since a time.
What each reason blocks:
| Reason | Marketing email | Transactional email | Sister workspaces | Deletable |
|---|---|---|---|---|
manual, imported | Blocked | Sent | No | Yes |
unsubscribed | Blocked | Sent | No | No: lifted when the person resubscribes |
complained | Blocked | Sent | Marketing blocked | No |
bounced | Blocked | Blocked | All email blocked | No |
complained_transactional | Blocked | Blocked | All email blocked | No |
Sister workspaces are those with the same owner or partner. The list holds only this workspace's own blocks: an address blocked by a sister workspace's bounce is not listed here, yet every send to it is skipped. For the effective answer for one contact, read its emailSuppression (reason other_workspace for such a block).
Query parameters
limitintegeroptionalHow many items a page holds: 1 to 100, 20 by default.
min > 0 · max 100 · default
20cursorstringoptionalWhere the page starts: the previous page's
meta.pagination.nextCursor. Omit it for the first page, and send the same filters with it.1–2,048 characters
emailstringoptionalOne address, matched trimmed and without case: is it blocked?
querystringoptionalCase-insensitive part of the address.
1–320 characters
reasonstringoptionalOnly blocks with this reason.
one of
manual,imported,unsubscribed,bounced,complained,complained_transactionalcreatedAfterstringoptionalOnly blocks made at or after this time (inclusive).
date-time
createdBeforestringoptionalOnly blocks made before this time (exclusive).
date-time
Header parameters
Kirora-WorkspacestringoptionalPartner keys only: the child workspace to act in, by the external id the partner gave it. Without it, a partner key acts in its own workspace. Any other key that sends it is refused with 403, and an unknown workspace is 404.
pattern
^[A-Za-z0-9._:-]{1,128}$
Returns
Returns 200 OK with a list of Suppression objects in data, and the next page's cursor in meta (see pagination). Otherwise returns an error; Errors lists every code and which to retry.
idstringrequireduuid
channel"email"requiredaddressstringrequiredreasonstringrequiredWhy the address is blocked:
manual(blocked by a person),imported(added throughaddSuppressions),unsubscribed,bounced,complained(marked as spam on marketing mail) orcomplained_transactional(marked as spam on a transactional message).one of
manual,imported,unsubscribed,bounced,complained,complained_transactionalremovablebooleanrequiredTrue for
manualandimported; bounces, complaints and unsubscribes cannot be removed.createdAtstringrequireddate-time