# WhatsApp — Block contact

Automatically block contact on web.whatsapp.com. Block a WhatsApp contact by exact chat name, without reporting them. Safe to repeat: does nothing if the contact is already blocked. The person isn't notified.

- Site: web.whatsapp.com
- Address: `reduck/web.whatsapp.com/block_contact`
- Updated: 2026-10-22 (v7)
- Author: Reduck AI (reduck)

## Run it

Ask an AI agent connected to Reduck over MCP (`https://mcp.reduck.ai/mcp`) to run `reduck/web.whatsapp.com/block_contact`, or run it from a terminal:

```bash
npx @reduck-ai/cli@latest run --script reduck/web.whatsapp.com/block_contact
```

## Input

- `name` (string, required): Exact contact/chat name to block (from get_inbox).

## Output

- `blocked` (boolean, required)
- `recipient` (string, required)
- `alreadyBlocked` (boolean, required): True when the contact was already blocked and nothing was clicked.

## FAQ

### What does "WhatsApp — Block contact" do?

Block a WhatsApp contact by exact chat name, without reporting them. Safe to repeat: does nothing if the contact is already blocked. The person isn't notified.

### How do I automatically block contact on web.whatsapp.com?

Ask an AI agent connected to Reduck to run reduck/web.whatsapp.com/block_contact, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/web.whatsapp.com/block_contact

### Is there a web.whatsapp.com API to block contact?

You do not need one. "WhatsApp — Block contact" drives the real web.whatsapp.com pages in a browser, so it works whether or not web.whatsapp.com offers an API for this.

### What information do I need to provide?

Required: name.

### What does it return?

It returns blocked, recipient, alreadyBlocked.

### Do I need to be logged in to web.whatsapp.com?

Yes. It acts as you on web.whatsapp.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the web.whatsapp.com cookies saved by the Reduck extension.

### Does it change anything on web.whatsapp.com, or only read data?

It makes changes on web.whatsapp.com, like sending, posting, booking or buying something.

### How do I run it?

Ask an AI agent connected to Reduck to run reduck/web.whatsapp.com/block_contact, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/web.whatsapp.com/block_contact

### Who maintains it?

It is part of Reduck's official curated catalogue.

Source: https://reduck.ai/explore/scripts/reduck/web.whatsapp.com/block_contact
