Creating an API key
1
Open API Key Management
Log in to your Appstle admin panel and navigate to Settings → API Key Management.
2
Create a new key
Click Create New Key and give it a descriptive name that identifies the integration it belongs to — for example,
Zapier Integration or Mobile App.3
Copy the key immediately
The full key value is shown only once. Copy it now and store it in a secure location such as a secrets manager or environment variable store. You cannot retrieve it again after closing this dialog.
4
Add the key to your integration
Set the key as an environment variable in your server environment and read it at runtime. Never hard-code it in source files.
Sending the API key
Include the key in theX-API-Key request header on every Admin API call:
apst_ prefix. Existing legacy keys (created before the prefix was introduced) continue to work without any migration.
Query parameter alternative
You can also pass the key as a query parameter, though header-based authentication is recommended:Managing keys
From Settings → API Key Management you can:Each store can have up to 10 active API keys. If you need to create an 11th key, revoke an unused existing key first.
Partner integrations
If you are building a product that connects to Appstle on behalf of multiple merchants — for example a helpdesk, CRM, automation platform, or AI agent — use the Partner Integration Framework. If your application needs to call Appstle’s Admin API, use the framework’s Nonce Handshake connection mode:1
Get your partner credentials
Appstle provides your Partner ID and Partner Secret during onboarding. Store the secret securely.
2
Start the merchant connection
Call the relevant
/api/partner/{partnerId}/... endpoints and authenticate with X-Partner-Secret or the configured HMAC headers.3
Wait for merchant approval
The merchant approves the request under Settings → Partner Connections in Appstle.
4
Receive the scoped API token
Appstle delivers a merchant-specific
apst_... token to your approval callback.5
Call the Admin API
Send the scoped token as
X-API-Key, exactly like a regular API key. Your Partner Secret is only ever used for /api/partner/... connection calls — never send it to Admin API endpoints.Scoped partner tokens bypass the paid API plan requirement. Merchants do not need their own Appstle API subscription to use an approved partner integration.