Features
Check Feature Access
Check if a tenant has access to a specific feature or has an active subscription for a product.
POST
Returns whether the tenant’s active plan includes the requested feature.
For multi-product orgs, pass
productSlug to scope the check to a specific product’s subscription.
If the feature is backed by a credit pool, also returns the available credit balance.
Request Body
The feature key to check (must match a key in
plan.features). Optional when productSlug is provided — omitting it performs a subscription-existence check (returns true if the tenant has any active/trial subscription for that product).Scope the check to a specific product (e.g.
product-a). Required for multi-product orgs. At least one of featureKey or productSlug must be provided.Authentication
Requires a public key (x-public-key: pk_live_...) or secret key (Authorization: Bearer sk_live_...).