Skip to main content

Create suppression list

Description

Creates a new suppression list.

Request URL

Method POST

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

Request parameters

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
formatstring"json"NoResponse data format.
By default – json
namestring"New suppression list"YesNew suppression list name

Request example

{
"token": "abcdefghijklmnqrstuvwxyz",
"name": "New suppression list"
}

Response example

{
"data": {
"saved_id": 1
},
"error": 0,
"error_text": "Successful operation"
}

Response parameters

ParameterTypeDecription
errorintError code
error_textstringError text
saved_idintID of a new suppression list