API Reference

Block a WhatsApp Contact

Blocks a WhatsApp contact, preventing them from sending messages to the authenticated user. The contact will not be able to see the user's last seen, online status, or status updates.

Log in to see full request history
Path Params
int64
required

Instance ID

Body Params
string
required

The WhatsApp ID of the contact to block in the format number@c.us

Response

Response body
object
data
object
string

The WhatsApp ID of the blocked contact

boolean

Indicates whether the contact was successfully blocked

links
object
string of strings

success error

Language
Credentials