Skip to main content

Remove all phone numbers from suppression list

Description

Removes all phone numbers from a suppression list.

Request URL

Method: POST

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

Request parameters

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

Request example

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

Response example

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

Response example

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

Response parameters

ParameterTypeDescription
errorintError code
error_textstringError text
remove_countintNumber of removed phones