Available APIs
Appstle Memberships exposes two REST API surfaces. Pick the one that matches where your code runs:- Admin API — server-side, authenticated with
X-API-Key. For backend integrations, admin dashboards, bulk operations, mobile apps, and third-party sync. Browse the full reference under Admin API in the sidebar. - Customer Portal API — customer-facing, accessed through Shopify App Proxy. For member self-service portals, theme integrations, and gated content. Browse the full reference under Customer Portal API in the sidebar.
Which API should you use?
- Use the Admin API when…
- Use the Customer Portal API when…
- You are building server-side integrations and automation workflows
- You are managing memberships from your backend or a CRM
- You are building admin dashboards or reporting tools
- You are automating bulk operations across your member base
- You are integrating with email platforms, analytics tools, or helpdesks
- You are building a mobile app (iOS or Android)
Admin API requests require an
X-API-Key header. Keys are created in the Appstle dashboard under Settings → API Key Management. Never expose keys in client-side code.Key features
Membership plans
Create and manage tiered membership plans with flexible pricing and billing cycles — monthly, annual, or custom intervals.
Member management
Retrieve and sync member data, plan status, and access entitlements across your systems in real time.
Access control
Gate content, collections, and pricing based on membership status and tier using customer tags and metafields.
Billing & contracts
Manage membership contracts, renewals, and billing attempts. Handle dunning, pauses, and cancellations programmatically.
Member benefits
Configure perks, discounts, and exclusive access rules per membership tier. Swap plans and roll back automatically on failed payments.
Notifications
Automate member communications for renewals, expirations, billing failures, and upgrades via Shopify Flow or webhooks.
Analytics
Access membership metrics, churn data, MRR projections, and revenue analytics using contract list endpoints and billing events.
Shopify native
Deep integration with Shopify Flow, metafields, customer tags, and the App Proxy — no separate infrastructure required.
Base URL
All Admin API endpoints use:HTTP status codes
All API responses use standard HTTP status codes.| Code | Meaning |
|---|---|
200 | Success |
201 | Resource created |
400 | Bad request — invalid parameters |
401 | Unauthorized — missing or invalid API key |
403 | Forbidden — key lacks required permissions |
404 | Not found |
429 | Rate limit exceeded |
500 | Server error |
Next steps
Authentication
Create your API key and learn how to authenticate requests.
Quickstart
Make your first API call in under five minutes.
Integration guide
Explore common integration patterns for CRMs, email platforms, and access control.