Suppressions
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[]requiredEmail 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.
addedCountintegerrequiredNewly blocked addresses.
min 0 · max 9007199254740991
alreadySuppressedCountintegerrequiredAlready blocked, for any reason; their reason is left as it was.
min 0 · max 9007199254740991
invalidstring[]requiredEntries that are not an email address, exactly as sent.