Skip to main content
GET
/
entitlements
/
status
Check Entitlement Status
curl --request GET \
  --url https://dev-billing-api.spectertech.ai/api/v1/entitlements/status \
  --header 'Content-Type: application/json' \
  --data '{
  "subscriptionId": "<string>",
  "planEntitlementQuota": "<string>",
  "usage": 123
}'
{
  "entitled": true
}

Body

application/json
subscriptionId
string
required

Unique identifier of the subscription

planEntitlementQuota
string
required

Unique identifier of the plan entitlement quota

usage
number

Usage amount to report

Response

OK - Successful check

entitled
boolean

Indicates if the subscription is entitled to the quota

I