Skip to content

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:

  1. Create features sso (flag) and seats (limit).
  2. Create a catalog plan pro that grants SSO and seats 10.
  3. Create subscriber cust_123 (your customer id).
  4. 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
{ "feature": "sso" }
{
  "feature": "sso",
  "kind": "flag",
  "allowed": true,
  "source": "plan"
}

Limit

{ "feature": "seats" }
{
  "feature": "seats",
  "kind": "limit",
  "limit": 10,
  "source": "plan"
}

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