Suppression APIs

Learn how to use Suppression API V6.

Overview

The Suppression API helps you manage domains and email addresses that should be excluded from communication. It allows you to add, remove, list, and check suppression status for both domains and individual email addresses.

📘

Important points to remember

  • Max 1000 entries can be added or removed in one request.
  • All suppression changes are processed asynchronously.
  • Email addresses may be stored in hashed format (SHA1 or SHA512_256) depending on client settings.
  • Timestamps are in ISO 8601 format.

Common Error Codes

Refer to the given table to know the common error codes returned by the API and their descriptions.

Status CodeDescription
400Bad Request – Invalid input or format
401Unauthorized – Missing or invalid API key
500Internal Server Error

Suppression Status Codes

Refer to the given table to know the status codes used for email suppression and their corresponding meanings.

Status IDMeaning
1Confirmed (active, not suppressed)
2Removed due to unsubscribe
3Removed due to bounce
4Removed due to abuse/spam report
5Manually removed
6Synced from another account

Endpoints

Refer to the given table to know the endpoints available under the Suppression API.

Endpoint NameMethodEndpointDescription
Add Domain to Suppression ListPOST/v6/suppression/domainsAdds one or more domains to the suppression list, preventing any emails from being sent to these domains.
Remove Domain from Suppression ListDELETE/v6/suppression/domainsRemoves one or more domains from the suppression list, allowing communication to be sent to these domains again.
List Suppressed DomainsGET/v6/suppression/domainsRetrieves a paginated list of domains currently suppressed, with optional filters for date range and pagination.
Get Domain Suppression StatusGET/v6/suppression/domains/{domain}Checks whether a specific domain is currently suppressed in the suppression list.
Add Email to Suppression ListPOST/v6/suppression/emailsAdds one or more email addresses to the suppression list, ensuring no further communication is sent to these addresses.
Remove Email from Suppression ListDELETE/v6/suppression/emailsRemoves one or more email addresses from the suppression list, allowing them to receive emails again.
List Suppressed EmailsGET/v6/suppression/emailsRetrieves a paginated list of email addresses that are suppressed, with optional filters for date range and pagination.
Get Email Suppression StatusGET/v6/suppression/emails/{email}Checks whether a specific email address is currently suppressed in the suppression list.