Every Admin API request must carry a valid API key. Keys are created in your Appstle dashboard and scoped to a single Shopify store. There is no OAuth flow — authentication is a single header on every request.Documentation Index
Fetch the complete documentation index at: https://appstleinc-aeca3e0a.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Creating an API key
Open API Key Management
Log in to your Appstle admin panel and navigate to Settings → API Key Management.
Create a new key
Click Create New Key and enter a descriptive name that identifies the integration — for example,
Klaviyo sync, Mobile app, or Internal dashboard. Good names make it easy to audit and revoke keys later.Copy the key immediately
The full key value is shown only once. Copy it and store it in your secrets manager or environment variable before leaving the page. If you navigate away without copying it, you must create a new key.
Using the API key
Include your key in theX-API-Key header on every Admin API request.
Key management
You can create up to 10 active API keys per store. Each key has:- A display name you choose at creation time
- A last-used timestamp so you can identify stale keys
- Individual revocation — revoking one key does not affect others
Rotating a key safely
Create the replacement key
Go to Settings → API Key Management and create a new key with the same or updated name.
Partner integration keys
If you are building an app that connects to multiple merchants’ stores, use the Partner Integration Framework instead of asking merchants to share API keys manually. The Partner Framework:- Provisions a scoped
apst_token per merchant automatically during a one-click handshake - Lets merchants approve, review, and revoke access from their own dashboard
- Bypasses the paid API plan — merchants are never charged for partner API usage
- Revokes tokens automatically when a merchant disconnects or uninstalls Appstle
X-API-Key. See the integration guide for details on the X-App-Key legacy header and the full partner framework walkthrough.
New integrations should use the Partner Integration Framework. The legacy
X-App-Key header continues to work for existing partners but is not recommended for new builds.Error responses
| Status | Cause | Resolution |
|---|---|---|
401 Unauthorized | Key is missing, malformed, or revoked | Check the header name and value; create a new key if revoked |
403 Forbidden | Key is valid but lacks the required permission | Verify the key’s permission level in the dashboard |
429 Too Many Requests | Rate limit exceeded | Implement exponential backoff before retrying |