POST api/sender/addToBlockPhone/{client}/{guid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| client | integer |
Required |
|
| guid | string |
Required |
Body Parameters
blockedLists| Name | Description | Type | Additional information |
|---|---|---|---|
| serial | integer |
None. |
|
| client | integer |
None. |
|
| webtiv | integer |
None. |
|
| agent | integer |
None. |
|
| phone | string |
None. |
|
| enterDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"serial": 1,
"client": 1,
"webtiv": 1,
"agent": 1,
"phone": "sample string 2",
"enterDate": "2025-10-28T10:34:47.1282374+02:00"
}
text/xml
Sample:
<blockedLists xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/whatsAppServer.Models"> <agent>1</agent> <client>1</client> <enterDate>2025-10-28T10:34:47.1282374+02:00</enterDate> <phone>sample string 2</phone> <serial>1</serial> <webtiv>1</webtiv> </blockedLists>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of blockedLists| Name | Description | Type | Additional information |
|---|---|---|---|
| serial | integer |
None. |
|
| client | integer |
None. |
|
| webtiv | integer |
None. |
|
| agent | integer |
None. |
|
| phone | string |
None. |
|
| enterDate | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"serial": 1,
"client": 1,
"webtiv": 1,
"agent": 1,
"phone": "sample string 2",
"enterDate": "2025-10-28T10:34:47.1282374+02:00"
},
{
"serial": 1,
"client": 1,
"webtiv": 1,
"agent": 1,
"phone": "sample string 2",
"enterDate": "2025-10-28T10:34:47.1282374+02:00"
}
]
text/xml
Sample:
<ArrayOfblockedLists xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/whatsAppServer.Models">
<blockedLists>
<agent>1</agent>
<client>1</client>
<enterDate>2025-10-28T10:34:47.1282374+02:00</enterDate>
<phone>sample string 2</phone>
<serial>1</serial>
<webtiv>1</webtiv>
</blockedLists>
<blockedLists>
<agent>1</agent>
<client>1</client>
<enterDate>2025-10-28T10:34:47.1282374+02:00</enterDate>
<phone>sample string 2</phone>
<serial>1</serial>
<webtiv>1</webtiv>
</blockedLists>
</ArrayOfblockedLists>