Every request to a protected Quickshops Headless API endpoint must include anDocumentation Index
Fetch the complete documentation index at: https://docs.quickshops.app/llms.txt
Use this file to discover all available pages before exploring further.
x-api-key header with a valid headless API key. Keys are issued from your Quickshops dashboard and always begin with qk_. The API never stores your key in plaintext — it is hashed before being looked up.
Creating an API key
Key types
There are two key types. Choose the one that matches the operations your integration needs to perform.| Key type | Read products & store | Cart, checkout, subscriptions |
|---|---|---|
| Public | Yes | No |
| Secret | Yes | Yes |
Using your API key
Pass the key in thex-api-key header on every request.
Key rotation
Rotate your keys regularly to reduce the blast radius of a potential compromise.- Rotate every 30–60 days as a baseline.
- Issue the new key, deploy your integration with the new key, then immediately revoke the old key.
- Verify that all services using the old key have been updated before revoking it.
Common authentication errors
| Error message | Cause |
|---|---|
API key required | The x-api-key header was not included in the request. |
Missing or invalid API key | The key is missing, malformed, or has been revoked. |
Scope ... required | The endpoint requires a secret key but a public key was provided. |
Rate limit exceeded | The key or endpoint has exceeded its request limit. Retry later. |
status, code, message, and requestId fields. See Overview for the full error format.