Block Contact
AI-generatedSummary
Block a WhatsApp contact by JID
Inputs
- jid (required) — Contact JID (e.g., 1234567890@s.whatsapp.net)
Output shape
JSON object confirming the block operation
The response contains the server's acknowledgment of the block; additional fields may vary by server version.
Examples
Example 1: Block the contact with JID 1234567890@s.whatsapp.net
Select operation 'block' and set JID to 1234567890@s.whatsapp.net
Example 2: Unblock the same contact
Select operation 'unblock' and provide the same JID