Skip to main content
POST
Create Suppressions

Authorizations

X-SubAccount-ApiKey
string
header
required

This api key can be used only for sub account level operations

Body

application/json
hardBounce
object[]

list of email addresses which you want to mark in hardBounce suppression list

manual
object[]

list of email addresses which you want to mark in manual suppression list

unsubscribe
object[]

list of email addresses which you want to mark in unsubscribe suppression list

spamComplaint
object[]

list of email addresses which you want to mark in spamComplaint suppression list

Response

200 - application/json

A list of created suppressions

id
integer

The ID of the suppression

reason
integer

The reason for the suppression (0 = manual, 1 = unsubscribe, 2 = hard bounce, 3 = spam complaint)

smtp_error
string

SMTP error code in case of hard bounce suppression

email
string

The email address for the suppression

created
integer<int64>

UNIX epoch nano timestamp when the suppression was created