Create whitelist suppression
POST /api/domains/{domain}/suppressions/whitelist
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 ” domain
required
string
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
recipient
required
recipient_type
required
Type of recipient
string
Example
email description
Optional description
string
Example
Trusted senderobject
recipient
required
recipient_type
required
Type of recipient
string
Example
email description
Optional description
string
Example
Trusted senderResponses
Section titled “ Responses ”Whitelist entry created successfully
object
success
boolean
Example
true message
string
Example
Whitelist entry created successfully. data
Suppression entry
object
id
integer
Example
1 type
string
Example
unsubscribe recipient_type
string
Example
email recipient
tags
string
Example
marketing description
string
Example
Opted out from newsletter source
string
Example
api created_at
integer
Example
1711234567Unauthorized - Invalid or missing authentication credentials
object
success
boolean
message
string
Example
UnauthorizedNot Found - Domain not found
object
success
boolean
message
string
Example
Domain not foundValidation Error - Invalid input data
object
success
boolean
message
string
Example
Validation failed. errors
Field-specific validation errors
object
Too Many Requests - Rate limit exceeded. Retry after the specified time.
object
success
boolean
message
string
Example
Too many attempts. Please try again later.Headers
Section titled “Headers ” Retry-After
integer
Seconds until rate limit resets
X-RateLimit-Limit
integer
Maximum requests per minute
X-RateLimit-Remaining
integer
Remaining requests in current window
Server Error - Unexpected error occurred
object
success
boolean
message
string
Example
An error occurred while processing the request.