Actions122
- Broadcast Actions
- Business Actions
- Call Actions
- Chat Actions
- Community Actions
- Contact Actions
- Group Actions
- Label Actions
- Media Actions
- Message Actions
- Newsletter Actions
- Privacy Actions
- Profile Actions
- User Actions
Privacy → Block User
AI-generatedSummary
Block a WhatsApp contact by its JID using the connected Bailey session. Returns a success flag, the JID, and the action performed.
Inputs
- jid (required) — User JID of the contact to block.
Output shape
A single item with a JSON object.
On success, includes
success: true, the contactjid, andaction: "block". Failed calls raise an operation error unless the node is configured to continue on fail.
Examples
Example 1: Block a contact
Set User JID to the contact's WhatsApp JID.