Skip to main content
The can() endpoint is the core of Nozle’s entitlement system.

Request

Call this endpoint from a trusted backend with a restricted secret key. Derive cust_123 from the authenticated application user; publishable keys are rejected.

Response

Field reference

Runtime behavior

The service may cache entitlement and usage state. Always treat the returned decision as point-in-time and enforce it immediately before protected work.

Denial reasons

  • No active subscription
  • Feature not included in plan
  • Usage limit exceeded
  • Subscription expired/cancelled

SDK wrappers

Node:
Python:
React: fetch the result through your authenticated backend and pass it to FeatureGate, UsageGate, or your own UI.