Remove phone number from suppression list
Description
Removes a phone number from a suppression list.
Request URL
Method: POST
https://example.com/api/v1.1/suppresses/phone_remove
Request parameters
Parameter | Type | Example | Required | Description |
---|---|---|---|---|
token | string | "abcdefghijklmnqrstuvwxyz" | Yes | API token |
format | string | "json" | No | Response data format By default– json |
id | int | 12 | Yes | Suppression list ID |
value | string | "+79009009001" | Yes | Phone number |
Request example
- JSON
- XML
{
"token":"62c1336c402e429ab2e59d84d089b1cc",
"id":1,
"value":"+79009009001"
}
<xml>
<token>62c1336c402e429ab2e59d84d089b1cc</token>
<id>1</id>
<value>+79009009001</value>
</xml>
Response example
- JSON
- XML
{
"data": null,
"error": 0,
"error_text": "Successful operation"
}
<xml>
<data/>
<error>0</error>
<error_text>Successful operation</error_text>
</xml>
Response parameters
Parameter | Type | Description |
---|---|---|
error | int | Error code |
error_text | string | Error text |