Menu

Import suppressed email addresses

POST/v1/suppressions/import

Requires an API key with the suppressions:write scope. About keys and scopes

Admin, or a key with suppressions:write; never an agent key. Blocks up to 10,000 addresses per request with reason imported, for example opt-outs carried over from another platform. Addresses are trimmed and lowercased; one already blocked keeps its reason. Nothing is sent to anyone.

Request body

addressesstring[]required

Email addresses to block, up to 10,000; trimmed and lowercased.

at least 1 item · at most 10000 items

Returns

Returns 200 OK. Otherwise returns an error; Errors lists every code and which to retry.

addedCountintegerrequired

Newly blocked addresses.

min 0 · max 9007199254740991

alreadySuppressedCountintegerrequired

Already blocked, for any reason; their reason is left as it was.

min 0 · max 9007199254740991

invalidstring[]required

Entries that are not an email address, exactly as sent.