Skip to main content

Add email to suppression list

Description

Adds an email address to a suppression list.

Request URL

Method: POST

https://example.com/api/v1.1/suppresses/email_add

Request parameters

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
emailstring"john@example.com"YesEmail address
formatstring"json"NoResponse data format.
By default – json
idint1Yessuppression list ID

Request example

{
"email": "john@example.com",
"id": 1,
"token": "abcdefghijklmnqrstuvwxyz"
}

Response example

{
"error": 0,
"error_text": "Successful operation"
}

Response parameters

ParameterTypeDescription
errorintError code
error_textstringError text