Actions56
- Message Actions
- Group Actions
- Chat Actions
- Profile Actions
- Event Actions
- Integration Actions
Chat → Block Contact
AI-generatedSummary
Blocks or unblocks a contact on a SendWave WhatsApp instance.
Inputs
- instanceName (required) — Name of the SendWave instance to target.
- remoteJid (required) — The contact's JID (usually the phone number) to block or unblock.
- status (required) — Action to perform: 'block' to block the contact, 'unblock' to unblock it.
- apiKey — Optional API key override; if supplied it will be used instead of the node's credential.
Output shape
The operation returns the raw response from the SendWave API (typically a JSON object indicating success or failure).
If the request succeeds the node will continue; on error it will throw an exception that n8n will surface as a node error.
Examples
Example 1: Block a spam number
Set instanceName to your configured instance, remoteJid to the phone number (e.g., '15551234567@c.us'), status to 'Block'.