Generate an API key to grant admin access to your Wix account and site data.
To generate an API key:
Go to the API Keys Manager to enable an authorized external client to access and manage data belonging to your Wix account, its projects and sites. You can assign a set of permissions that determine the types of APIs each key can access.
Important: Make sure to store your API keys securely and use them only in server-side code.
Retrieve a Site ID or Account ID
When using an API Key authentication strategy you need to provide either a Site ID, your Account ID, or both.