> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Introduction

## Article: Introduction

## Article Link: https://dev.wix.com/docs/api-reference/crm/members-contacts/members/members-v2/member-to-member-block-v1/introduction.md

## Article Content:

# About the Member-to-Member Blocks API

The Member-to-Member Blocks API allows site members to block other members. After a member blocks another member, the 2 members no longer see each other on the site, for example in member lists and on member profiles. The blocked member isn't notified about the block.

With the Member-to-Member Blocks API, you can:

- [Block](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/members-v2/member-to-member-block-v1/block-member.md) and [unblock](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/members-v2/member-to-member-block-v1/unblock-member.md) members on behalf of the current member.
- Retrieve the [members the current member blocked](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/members-v2/member-to-member-block-v1/list-current-member-blocking.md).
- Retrieve [all blocks involving a member](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/members-v2/member-to-member-block-v1/list-member-blocks.md), in both directions.

Blocks also affect the results of the [Members API](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/member-management/members/introduction.md). For details, see [Integration Guide](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/members-v2/member-to-member-block-v1/integration-guide.md).

## Before you begin

It's important to note the following points before starting to code:

- A site must have the [Wix Members Area](https://www.wix.com/app-market/web-solution/members-area) installed from the App Market.
- Block Member, Unblock Member, and List Current Member Blocking act on behalf of the current member, so they must be called with a site member identity.
- Each pair of members can have a single block. A member can't block a member who has already blocked them.
- A member can remove only blocks they created. A blocked member can't remove a block.
- Blocks can't involve the site owner or site contributors. When a member becomes the site owner or a contributor, all blocks involving them are removed.

## Use cases

- [Let members manage their blocked list](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/members-v2/member-to-member-block-v1/sample-flows.md#let-members-manage-their-blocked-list)
- [Hide content from blocked members in a custom feed](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/members-v2/member-to-member-block-v1/sample-flows.md#hide-content-from-blocked-members-in-a-custom-feed)

## Terminology

- **Member**: A person who signed up to a site's Members Area.
- **Block**: A relationship in which 1 member hides another member from themselves. The 2 members can no longer see each other on the site.
- **Blocking member**: The member who created the block.
- **Blocked member**: The member the block was created on.

