Quickstart¶
Pack the catalog in the console, mint a member API key, call check from your backend.
You need:
- An account and organization at e10s.io
- A service account with a member API key
API host: https://api.e10s.io. Keys and scopes: Authentication. Console: Console.
1. Pack the catalog in the console¶
At e10s.io, in this organization:
- Create features
sso(flag) andseats(limit). - Create a catalog plan
prothat grants SSO and seats10. - Create subscriber
cust_123(your customer id). - Subscribe them to
pro.
2. Mint a key¶
Service accounts → Create key. Name it (for example production). Leave check selected so the key can only check entitlements.
Copy the plaintext once.
3. Check access from your backend¶
Flag
POST /org/subscribers/cust_123/entitlements/check
X-API-Key: e10s-mk-1-…
Content-Type: application/json
Limit
4. Gate in your product¶
See Check access for a backend snippet (check a flag, compare a limit to your usage).
Catalog via the API¶
To create features and subscribers from a script, mint a key with catalog:write and subscribers:write, or Full access. A check-only key gets 403 on those routes.
Next¶
- Check access — check, snapshot, cache
- Console — keys, members, invites
- Custom plans — sales deals