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

{
"token": "abcdefghijklmnqrstuvwxyz",
"id": 2
}
{
"data": {
"id": 3,
"name": "New suppression list",
"is_global": false,
"description": ""
},
"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