The API Access page lets you manage the tokens that your storefront, analytics, and developer integrations use to call the Layers APIs. From here you can create new tokens, rotate every token at once, and control which response fields are exposed to clients.Documentation Index
Fetch the complete documentation index at: https://docs.uselayers.com/llms.txt
Use this file to discover all available pages before exploring further.
Create an API token
- Go to Settings > API Access.
- Create a token, give it a descriptive name, and select the permissions it needs.
- Copy the token value and store it somewhere safe — you won’t be able to see it again.
Rotate API keys
Rotating keys regenerates the value of every API token on your store while keeping each token’s name, permissions, and default flag intact. Use it when a key may have been exposed, when an integration partner changes, or as part of a routine security review.- Go to Settings > API Access.
- Select Rotate API keys in the page header.
- Confirm the action in the dialog.
- Copy the new token values from the tokens list and update each integration that uses them.
Configure response options
The Expose variant inventory toggle controls whether per-variant inventory levels are returned in API responses. Turn it on if your storefront needs to show stock counts or hide sold-out variants, and turn it off to keep inventory data private. Changes save automatically.Next steps
- Navigate settings to explore other store configuration options.
- Manage team members to control dashboard access.