API Documentation
The Enterprise Headless SaaS platform exposes a RESTful API for all platform features. Authenticate using your organisation API key.
Authentication
All API requests (except public endpoints) require an API key in the request header:
Authorization: Bearer sk_live_your_api_key_here Content-Type: application/json
Base URL
https://enterprise-headless-saas-production.up.railway.app
Authentication
/auth/loginInitiate Auth0 login flow
/auth/logoutLog out current user
/auth/callbackAuth0 callback handler
Organisations
/api/orgsCreate a new organisation
/api/orgs/by-slug?orgSlug=Get organisation by slug
API Keys
/api/api-keys?orgSlug=List all API keys for org
/api/api-keysCreate a new API key
/api/api-keysRevoke an API key
Agency
/api/agency/clients?orgSlug=List all client orgs
/api/agency/clientsCreate a new client org
/api/white-labelSave white label settings
Commerce
/api/shopify/stores?orgSlug=List connected Shopify stores
/api/shopify/storesConnect a Shopify store
/api/shopify/syncSync products from Shopify
Enterprise
/api/enterprise/slaSave SLA policy
/api/enterprise/complianceSave compliance config
/api/enterprise/ssoSave SSO configuration
Franchise
/api/franchise/locations?orgSlug=List franchise locations
/api/franchise/locationsAdd a new location
Billing
/api/billing/checkoutCreate Stripe checkout session
/api/webhooks/stripeStripe webhook receiver
Rate Limiting
General API
10 requests / 10 seconds
Billing
5 requests / 60 seconds
API Keys
20 requests / 60 seconds
Ready to get started?
Create your account