Skip to content
Entitlements

Entitlements

An entitlement is a named feature of your application, such as PDF export. A policy or a license grants entitlements, and your application unlocks a feature when the license has its entitlement.

Entitlements belong to your account, not to one product. Policies of different products can grant the same entitlement.

Entitlement properties

PropertyDescription
CodeThe value that your application checks for, such as PRO. Each entitlement in your account needs its own code.
NameThe name of the feature. The License API returns it, so your application can show it.
DescriptionA sentence that says what the entitlement unlocks. Only the dashboard shows it. This property is optional.

Policies and licenses

A license gets entitlements from two places:

SourceBehavior
PolicyEvery license of the policy gets the entitlement.
LicenseOnly this license gets the entitlement. It adds to the entitlements of the policy.
  • The License API returns both sets as one list. An entitlement that both grant appears once.
  • A license cannot remove an entitlement of its policy. A license also cannot move to another policy. To give a customer fewer entitlements, issue a new license from a policy that grants fewer.

Example

A policy grants PRO. One license of that policy also grants BETA.

LicenseEntitlements
The license that grants BETABETA and PRO
Every other license of the policyPRO

Entitlements in your application

Your application reads the entitlements of a license from the License API.

RequestEntitlements
ClaimThe response holds the entitlements of the license.
ValidateThe response holds the entitlements of the license.
Check outThe license file holds the entitlements of the license.
  • Each claim and validate returns the current entitlements. A change applies at the next request.
  • If the License API refuses a request, the list of entitlements is empty.
  • A license file keeps the entitlements that the license had at check-out. To get a change, check out a new file. See License files.

Deletion

Deletion is permanent. An entitlement cannot be deleted while a policy or a license grants it. It must be removed from each of them first.