Skip to main content

Get suppression list info

Description

Retrieves suppression list details.

Request URL

Method: POST

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

Request parameters

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
formatstring"json"NoResponse data format.
By default – json
idint1YesSuppression list ID

Request example

{
"id": 1,
"token": "abcdefghijklmnqrstuvwxyz"
}

Response example

{
"data": {
"id": 1,
"is_global": true,
"name": "Global suppress list"
},
"error": 0,
"error_text": "Successful operation"
}

Response parameters

ParameterTypeDescription
errorintError code
error_textstringError text
idintSuppression list ID
namestringSuppression list name
is_globalboolGlobal suppression list flag