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.
You can use API keys for the following:
Notes:
Create and manage API keys in the API Keys Manager, 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.
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.
Calls to site-level APIs require a site ID in addition to an API key. To retrieve a site ID, use the Query Sites 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.
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.
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. For detailed instructions and common errors, see Make API Calls with an API Key.