Block Users

Endpoints for managing blocking of WhatsApp Users

Get Blocked WhatsApp Users

get

Get a paginated list of blocked WhatsApp user numbers on your WhatsApp Business number.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Query parameters
limitintegerOptional

Maximum number of blocked users to fetch in the request

afterstringOptional

Cursor for pagination - fetch results after this cursor

beforestringOptional

Cursor for pagination - fetch results before this cursor

Responses
chevron-right
200

Blocked users retrieved successfully

application/json

Response payload for getting the list of blocked users

get
/block_users

Block WhatsApp Users

post

Block a list of WhatsApp user numbers from contacting your business. When you block a WhatsApp user, the user cannot contact your business or see that you are online, and your business cannot message the user.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Body

Block users request payload

messaging_productstringOptionalExample: whatsapp
Responses
chevron-right
200

Users blocked successfully

application/json

Response payload for successful block users operation

messaging_productstringOptionalExample: whatsapp
post
/block_users

Unblock WhatsApp Users

delete

Unblock a list of WhatsApp user numbers, allowing them to contact your business again.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Body

Unblock users request payload

messaging_productstringOptionalExample: whatsapp
Responses
chevron-right
200

Users unblocked successfully

application/json

Response payload for successful unblock users operation

messaging_productstringOptionalExample: whatsapp
delete
/block_users

Last updated

Was this helpful?