> 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`). > - 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: About API Keys ## Article: About API Keys ## Article Link: https://dev.wix.com/docs/api-reference/articles/authentication/api-keys/about-api-keys.md ## Article Content: # About API Keys Account owners and co-owners can create API keys to give developers access to make authenticated API calls at the account or site level. To make a call, developers need both an API key and the relevant account or site ID. > **Note:** Only account owners and co-owners can create API keys. ## Use cases You can use API keys for the following: - **Automated workflows**: Authenticate the [CLI](https://dev.wix.com/docs/wix-cli/guides/about-the-wix-cli.md) from automated workflow environments such as [GitHub Actions](https://dev.wix.com/docs/develop-websites-sdk/code-your-site/developer-environments/ides/git-integration/set-up-git-hub-actions.md). - **External integrations**: Enable 3rd-party tools such as [n8n](https://dev.wix.com/docs/develop-websites-sdk/code-your-site/developer-environments/integrations/about-n8n-integration.md) that call Wix APIs on your behalf. - **Channel and Enterprise**: Manage admin operations across multiple sites in [Channel](https://support.wix.com/en/article/wix-channels-dashboard-overview) or [Enterprise](https://support.wix.com/en/article/wix-enterprise-an-overview) accounts. - **AI agents**: Connect the [Wix MCP server](https://dev.wix.com/docs/api-reference/articles/ai-tools/wix-mcp/about-the-wix-mcp.md) to give AI agents access to your Wix account or site. - **Self-managed headless projects**: Perform [admin operations](https://dev.wix.com/docs/go-headless/develop-your-project/self-managed-headless/authentication/perform-admin-operations.md) from a project's backend code, such as managing members, orders, or bookings. Learn more about [self-managed headless projects](https://dev.wix.com/docs/go-headless/develop-your-project/self-managed-headless/about-self-managed-headless.md). > **Notes:** > - API keys aren't available for 3rd-party Wix apps. Use [OAuth](https://dev.wix.com/docs/build-apps/develop-your-app/access/authentication/about-oauth.md) to authenticate API calls. > - When building a [Wix-managed headless project](https://dev.wix.com/docs/go-headless/develop-your-project/about-headless-development-paths.md), authenticate [admin operations](https://dev.wix.com/docs/go-headless/develop-your-project/wix-managed-headless/authentication/authentication-and-api-integration.md) using [elevation](https://dev.wix.com/docs/api-reference/articles/authentication/about-elevated-permissions.md). ## Manage API keys Create and manage API keys in the [API Keys Manager](https://manage.wix.com/account/api-keys), where you can assign a set of permissions that determine the types of APIs the key can access. For more information, see the [About Wix API keys](https://support.wix.com/en/article/about-wix-api-keys). Site-level calls only work with API keys generated from the Wix user's account. If you work with multiple API keys, make sure you're using the correct key. Learn more about [generating an API key](https://dev.wix.com/docs/api-reference/articles/authentication/api-keys/generate-an-api-key.md). ## Retrieve site IDs Calls to site-level APIs require a site ID in addition to an API key. To retrieve a site ID, use the [Query Sites](https://dev.wix.com/docs/rest/account-level/sites/sites/query-sites.md) method to get all the site IDs associated with a particular account. You can also get a site ID from the URL of the site's dashboard in your browser. The site ID appears after `'/dashboard/'` in the URL. ## Retrieve account IDs Calls to account-level APIs require an account ID in addition to an API key. To retrieve an account ID, go to the account's [API Keys Manager](https://manage.wix.com/account/api-keys). ## Make API calls Once you've generated an API key and obtained the IDs for your Wix account or Wix site, you can authenticate and [perform account or site level operations](https://dev.wix.com/docs/go-headless/develop-your-project/self-managed-headless/authentication/about-admin-operations.md). For detailed instructions and common errors, see [Make API Calls with an API Key](https://dev.wix.com/docs/api-reference/articles/authentication/api-keys/make-api-calls-with-an-api-key.md). ## See also - [Generate an API Key](https://dev.wix.com/docs/api-reference/articles/authentication/api-keys/generate-an-api-key.md) - [Make API Calls with an API Key](https://dev.wix.com/docs/api-reference/articles/authentication/api-keys/make-api-calls-with-an-api-key.md) - [About Admin Operations](https://dev.wix.com/docs/go-headless/develop-your-project/self-managed-headless/authentication/perform-admin-operations.md)