> 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/app-management/app-permissions/introduction.md

## Article Content:

# About the App Permissions API

The App Permissions API allows you to manage the permissions your app needs for its functionality. When users install your app, they need to grant your app the permissions it needs to allow it to access their site data and make API calls on their behalf. Permissions are granular and can be tailored to your app's specific needs, such as creating a [business location](https://dev.wix.com/docs/rest/business-management/locations/create-location.md) or [setting a member's privacy settings](https://dev.wix.com/docs/rest/crm/members-contacts/members/member-privacy-settings/set-member-privacy-settings.md).

Learn more [about permissions for Wix apps](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions.md).

With the Wix App Permissions API, you can:

- [List permissions](https://dev.wix.com/docs/rest/app-management/app-permissions/list-app-permissions.md) associated with a specific app.
- [Create new permissions](https://dev.wix.com/docs/rest/app-management/app-permissions/create-app-permission.md) for an app.
- [Delete existing permissions](https://dev.wix.com/docs/rest/app-management/app-permissions/delete-app-permission.md) from an app.

> **Note**: After adding or removing a permission, it might take up to 5 minutes for the update to appear across the [Wix ecosystem](https://dev.wix.com/docs/build-apps/get-started/overview/the-wix-ecosystem.md).

## Before you begin

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

- You must have a [Wix app](https://dev.wix.com/docs/build-apps/get-started/overview/about-wix-apps.md). Learn more [about developing apps](https://dev.wix.com/docs/build-apps/develop-your-app/about-developing-apps.md).
- You must have an [API key](https://dev.wix.com/docs/rest/articles/get-started/api-keys.md) with the account-level **Manage Custom Apps** permission from the account that owns the app.
- [Identify the permissions your app needs](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/configure-permissions-for-your-app.md#step-1--identify-required-permissions) by checking which Wix APIs it uses.

## Use case

- [Add a permission for your app](https://dev.wix.com/docs/rest/app-management/app-permissions/sample-flows.md)

