What Are Entitlements?
An entitlement is an access right attached to a subscription version:- Feature flags — turn a capability on or off
- Quotas — a numeric limit such as seats or included storage
- Access tiers — a named level such as
standardorpriority - Credit allocations — a recurring balance the customer draws down
Key Concepts
Entitlement
A key, a type and a value, attached to a subscription version.
Entitlement config
The reusable definition of an entitlement: its key, type, mode and default value.
Template
A named config you apply when building subscriptions, so plans stay consistent.
Transition policy
What happens to active grants and rollover when a subscription moves to a new version.
Type
Mode
A
credit_allocation entitlement also carries an allocation (amount, credit type monetary or units, and whether unused balance rolls over) and a timing config (recurring or one_off, at a monthly, quarterly, semi_annual or yearly interval).
Creating Entitlements
Entitlements are defined in the dashboard, then attached to subscription versions.1
Create the config
Go to Entitlements and click New entitlement. Give it a name, a key your application will use, a type and a mode. For a credit allocation, set the amount, credit type, rollover behaviour and interval.
2
Attach it to a subscription version
When you build or amend a subscription version, add the entitlement and set its value for that customer. See Subscription Versioning.
3
Publish the version
Entitlements take effect when the version is published. Until then they belong to a draft.
Entitlement configs, templates and transition policies are managed in the dashboard. The public API exposes entitlements read-only, as described below.
Reading Entitlements
Use these endpoints to decide what a customer can do in your product.One entitlement
All entitlements on a subscription
All entitlements for a customer
Aggregates across the customer’s active subscriptions.value is always returned as a string, whatever the entitlement’s type. Parse it according to type.Checking Access In Your Application
Credit allocations
For acredit_allocation entitlement, the entitlement tells you what was allocated; the balance and the draw-down live in the credits API. Check the remaining balance before allowing consumption:
Version Changes
When a subscription moves to a new version, its transition policy decides what happens to entitlements that are being replaced:
Transition policies are configured per version change in the dashboard, and previewed before the change is published. See Subscription Versioning and Amendments.
Best Practices
Use stable keys
Your application reads entitlements by key. Keep keys stable across plans.
Meter separately
Entitlements describe access. Bill consumption with metrics and credits.
Cache reads
Entitlements only change when a version is published.
Fail closed
Treat a missing entitlement as no access, not unlimited access.
Next Steps
Subscription Versioning
Entitlements are defined on subscription versions.
Credits & Wallets
Meter and draw down credit allocations.