Entitlements
Customers
Get customer entitlement value
Checks customer access to a given feature (by key). All entitlement types share the hasAccess property in their value response, but multiple other properties are returned based on the entitlement type.
get/api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}/value
Request
- Base URLhttps://openmeter.cloud (the document declares no server; this is the origin it was published from)
- Auth
- HTTP bearer
- or API key in cookie __session
Path parameters
Example:01G65Z755AFWAKHE12NY0CQ9FH
entitlementIdOrFeatureKeystring required
Query parameters
timestring date-time
Example:2023-01-01T01:01:01.001Z
Response
The request has succeeded.
Example response
{
"balance": 100,
"config": "{ key: \"value\" }",
"hasAccess": true,
"totalAvailableGrantAmount": 100,
"usage": 50
}Changes
No recorded changes to this operation across all 2 revisions of this API.