List suppressed email addressesMenu

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:

ReasonMarketing emailTransactional emailSister workspacesDeletable
manual, importedBlockedSentNoYes
unsubscribedBlockedSentNoNo: lifted when the person resubscribes
complainedBlockedSentMarketing blockedNo
bouncedBlockedBlockedAll email blockedNo
complained_transactionalBlockedBlockedAll email blockedNo

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

limitintegeroptional

How many items a page holds: 1 to 100, 20 by default.

min > 0 · max 100 · default 20

cursorstringoptional

Where 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

emailstringoptional

One address, matched trimmed and without case: is it blocked?

querystringoptional

Case-insensitive part of the address.

1–320 characters

reasonstringoptional

Only blocks with this reason.

one of manual, imported, unsubscribed, bounced, complained, complained_transactional

createdAfterstringoptional

Only blocks made at or after this time (inclusive).

date-time

createdBeforestringoptional

Only blocks made before this time (exclusive).

date-time

Header parameters

Kirora-Workspacestringoptional

Partner 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.

idstringrequired

uuid

channel"email"required
addressstringrequired
reasonstringrequired

Why the address is blocked: manual (blocked by a person), imported (added through addSuppressions), unsubscribed, bounced, complained (marked as spam on marketing mail) or complained_transactional (marked as spam on a transactional message).

one of manual, imported, unsubscribed, bounced, complained, complained_transactional

removablebooleanrequired

True for manual and imported; bounces, complaints and unsubscribes cannot be removed.

createdAtstringrequired

date-time