Check customer entitlement for an event

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

customerIdstringRequired
The customer ID

Query parameters

event_namestringRequired
The name of the usage event to check entitlement for
viewenumOptionalDefaults to active_only

Filter view - ‘all’ returns all entitlements regardless of status, ‘active_only’ returns only currently active entitlements with available credits

Allowed values:

Response

Success response
entitledboolean
Whether the customer is entitled to the specified event

Errors