Skip to main content
WEBHOOK

Body

application/json
type
string

Event type discriminator.

Allowed value: "entitlement.granted"
messageId
string

Unique webhook message ID.

traceId
string

Correlation ID for tracing.

timestamp
string<date-time>

Time the check was reported.

feature
object

Canonical representation of a feature that can be packaged in plans or add-ons.

customer
object

Customer whose entitlement was checked.

resource
object | null

Resource the check was scoped to. Null for customer-scoped checks.

activeSubscriptions
object[]

The customer's active subscriptions at the time of the check (same shape as in entitlement.requested).

usageLimit
number | null

Usage limit for the period.

hasUnlimitedUsage
boolean

Whether usage is unlimited.

hasSoftLimit
boolean

Whether usage past the limit is allowed.

requestedUsage
number

Usage amount the check asked for, when sent.

requestedValues
string[]

For ENUM features, the values the check asked for, when sent.

currentUsage
number

Current usage in the period.

nextResetDate
string<date-time>

End of the current usage period, when the feature resets.

resetPeriod
string

Reset interval (e.g., MONTH).

resetPeriodConfiguration
object

Configuration describing how the reset anchor is chosen.

enumValues
string[]

For ENUM features, the values the customer is entitled to.