Block Users API
Updated: Oct 27, 2025 The Block Users API enables your business to block bad actors from contacting you.How it Works
When you block a WhatsApp user, the following happens: The user cannot contact your business or see that you are online. Your business cannot message the user. If you do, you will encounter an error. You cannot use this API to block another WhatsApp Business Errors on the API occur per-number since blocks might be successful on some numbers and not others. The Block Users API is synchronous.Limitations
You can only block users that have messaged your business in the last 24 hours. 64k blocklist limitFeatures
The API contains 3 endpoints:Block Users
Use this endpoint to block a list of WhatsApp user numbers.Endpoint
Request Body
Request Parameters
| Parameter | Description |
|---|---|
messaging_productString | Required Messaging service used for the request. Must be "whatsapp". |
block_usersObject | Required List of user(s) to block. Each element contains a user field. |
userstring | The phone number or WhatsApp ID to be blocked. |
Response Object
Response Parameters
| Parameter | Description |
|---|---|
block_usersObject | Contains two lists:added-users — List of successfully blocked users.failed_users — List of users failed to be blocked. |
added_usersObject | List of successfully blocked users. |
input | String — Phone number of a WhatsApp user |
wa_id | String — Unique ID of a WhatsApp user | |
failed_usersObject | List of users failed to be blocked |
input | String — Phone number of a WhatsApp user |
wa_id | String — Unique ID of a WhatsApp user |
Unblock Users
Use this endpoint to unblock a list of WhatsApp user numbers.Endpoint
Request Body
Request Parameters
| Parameter | Description |
|---|---|
messaging_productString | Required Messaging service used for the request. Must be "whatsapp".Cloud API only. |
block_usersObject | Required List of user(s) to block. Each element contains a user field. |
userstring | The phone number or WhatsApp ID to be blocked. |
Response Object
Response Parameters
| Parameter | Description |
|---|---|
block_usersObject | Contains two lists:added-users — List of successfully blocked users.failed_users — List of users failed to be blocked. |
added_usersObject | List of successfully blocked users. |
input | String — Phone number of a WhatsApp user |
wa_id | String — Unique ID of a WhatsApp user | |
failed_usersObject | List of users failed to be blocked |
input | String — Phone number of a WhatsApp user |
wa_id | String — Unique ID of a WhatsApp user |
Get List of Blocked Numbers
Use this endpoint to get a list of blocked numbers on your WhatsApp Business number.Endpoint
Query Parameters
Response Parameters
| Parameter | Description |
|---|---|
limitOptional | Maximum number of blocked users to fetch in the request. |
afterOptional | Learn more about Paginated Results in Graph API here |
beforeOptional | Learn more about Paginated Results in Graph API here |
Response Object
Response Parameters
| Parameter | Description |
|---|---|
block_usersObject | Required List of user(s) to block. Each element contains a user field. |
wa_idString | Phone number of the blocked user |
pagingObject | Learn more about Paginated Results in Graph API here |
Error Codes
| Code | Description |
|---|---|
139100Failed to block/unblock some users | Bulk blocking failed to block some or all of the users. |
139101Blocklist limit reached | The blocklist limit is reached when the 64k limit is met. |
139102Blocklist concurrent update | Occurs when the block list is updated while performing a pagination request and version_id does not match. |
139103Internal error | Internal error, please try again. |
130429Rate Limit Hit | Occurs when either: Too many numbers are in the request itself. Or, too many requests are made over a short period of time. |
131021Self Block | Failed to block self phone number. |
131047Re-engagement required | Occurs if the business has not received a message from that number in the last 24 hours. This error will also be returned if the number is an invalid WhatsApp user. |

