> 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/community/feedback-moderation/comments/introduction.md

## Article Content:

# About the Comments APIs

The Comments APIs allow you to add commenting functionality to a site.

With the Comments APIs, you can:

- Create and manage [comment](https://dev.wix.com/docs/api-reference/crm/community/comments/comments/introduction.md) content, visibility, and threads.
- Create and manage [categories](https://dev.wix.com/docs/api-reference/crm/community/comments/categories/introduction.md) to organize comments.
- Set permissions for who can comment, react, and reply.

## Use cases

- [Direct comments to a custom category](https://dev.wix.com/api-reference/crm/community/comments/sample-flow#redirect-comments-to-a-custom-category).
- [Handle comments when deleting a category](https://dev.wix.com/api-reference/crm/community/comments/sample-flow#handle-comments-before-deleting-a-category).
- [Retrieve all recent comments from a specific category](https://dev.wix.com/api-reference/crm/community/comments/sample-flow#retrieve-all-recent-comments-from-a-specific-category). 

## Understanding categories

When you install [Wix Comments](https://www.wix.com/app-market/web-solution/comments-widget) on a site, the system creates a default category. When a site visitor creates a comment, the system sets the `contextId` of the comment to the `categoryId` of the default category.

[Wix Blog](https://dev.wix.com/docs/api-reference/business-solutions/blog/introduction.md) integrates with Wix Comments and handles comments differently. When you install Wix Blog, the system creates a default category. When a site visitor creates a comment on a blog post, the system sets the `contextId` of the comment to the `referenceId` of the blog post rather than to the `categoryId` of the default category.

## Permissions and content moderation

You can set permissions to control who can interact with comments and moderate the content they create. 

Use the Categories API to set preventive controls at the category level. Define who can create, react to, and reply to comments before site visitors interact.

Use the [Moderation Rules API](https://dev.wix.com/docs/rest/crm/community/moderation-rules.md) to apply reactive controls after site visitors create content. Create custom rules to automatically check and filter user-generated content for quality and appropriateness.