Create an API Key
API keys authenticate external services and storefronts that access a store's data.
Steps
- Select the store you want to manage.
- Open API Keys in the sidebar.
- Click Create Key.
- Enter a Key Name that identifies where the key will be used, such as
ProductionorStaging. - Click Create.
- Copy the new key from the confirmation card.
- Store the key securely and dismiss the confirmation when finished.
Managing keys
- The API Keys page lists each key by name, value, and creation date.
- Click the copy icon next to a key to copy it.
- Click Delete to revoke a key.
- Deleting a key immediately invalidates any service using it.
Notes
- Only store owners can manage API keys.
- Use a separate key for each service so a compromised key can be revoked without affecting other integrations.
- The storefront authenticates with the
X-Store-API-Keyheader. - See the API Reference for authentication methods and endpoints.