Actions65
- Batch Actions
- Chat Actions
- Consent Actions
- Contact Actions
- Custom API Request Actions
- Event Actions
- Group Actions
- History Sync Actions
- Instance Actions
- Message Actions
- Privacy Actions
- Recipient Actions
- Webhook Delivery Actions
Privacy → Update Block Status
AI-generatedSummary
Blocks or unblocks a WhatsApp JID by sending the selected action to the wa-instance API.
Inputs
- JID (required) — JID to block or unblock.
- Action (required) — Choose Block (default) or Unblock.
Output shape
A single item containing the API response as JSON.
Makes a POST request to
/privacy/blockswith the JID and action. Requires the Baileys Instance API credentials.
Examples
Example 1: Block a contact
Set JID to the contact's JID and Action to Block.
Example 2: Unblock a contact
Set JID to the contact's JID and Action to Unblock.