Create whitelist suppression
POST /api/domains/{domain}/suppressions/whitelist
Add a new entry to whitelist suppressions
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Example
example.comDomain name that must be owned by the authenticated user. The domain must be verified and properly configured for email sending.
Request Body required
Section titled “Request Body required ”Whitelist suppression entry details
object
Email or domain to whitelist
Example
user@example.comType of recipient
Example
emailOptional description
Example
Trusted senderobject
Email or domain to whitelist
Example
user@example.comType of recipient
Example
emailOptional description
Example
Trusted senderResponses
Section titled “ Responses ”Whitelist entry created successfully
object
Example
trueExample
Whitelist entry created successfully.Suppression entry
object
Example
1Example
unsubscribeExample
emailExample
user@example.comExample
marketingExample
Opted out from newsletterExample
apiExample
1711234567Unauthorized - Invalid or missing authentication credentials
object
Example
UnauthorizedNot Found - Domain not found
object
Example
Domain not foundValidation Error - Invalid input data
object
Example
Validation failed.Field-specific validation errors
object
Too Many Requests - Rate limit exceeded. Retry after the specified time.
object
Example
Too many attempts. Please try again later.Headers
Section titled “Headers ”Seconds until rate limit resets
Maximum requests per minute
Remaining requests in current window
Server Error - Unexpected error occurred
object
Example
An error occurred while processing the request.