Get Blocked List
POST/blockedList
This endpoint allows you to see all the numbers you blocked.
See Black List (Block) for how blocking works.
Settings
| Setting | Value |
|---|---|
| URL | https://api.99digital.co.il/whatsapp/v2/blockedList |
| Method | JSON via POST |
| Key | Value |
|---|---|
| apiKey | Your API key for the service |
Body
| Parameter | Description / Example | Mandatory |
|---|---|---|
| from | Your WhatsApp account. International number without +. For example: 972771234567 | yes |
Response
{
"status": "OK",
"from": "972771234567",
"numbers": ["972501234567", "972501234568"]
}
Response-Explain
| Parameter | Description |
|---|---|
| status | OK or FAIL |
| from | Your WhatsApp account |
| numbers | Array of the numbers that were blocked by you |
| reason | Only in a FAIL response: the status explanation — see the table below. |
| reason | Description |
|---|---|
| 2 | from is missing, or JSON syntax error |
| 3 | Wrong apiKey, or the "from" number is not registered with us |
Request
Responses
- 200
The request was processed. Both a successful and a failed request answer with HTTP 200 — check status, and reason when it is FAIL.