Make API Calls with an API Key

Once you have generated an API key and obtained the IDs for your Wix account and Wix site, follow these instructions to make REST API calls with your key.

Prerequisites

Make API Calls

To make API call with an API Key, use the following headers:

  • Authorization: An API key that you generated in the API Key Manager.
  • wix-account-id: ID of the Wix account the API key belongs to. Required for account-level API calls.
  • wix-site-id: ID of the Wix site or project you are working with. Required for site-level API calls.
Copy

Example

This API call retrieves a list of products from a specific site. To make this call, you need an API key and the ID of the site you are querying.

Copy
Did this help?