# Check feature access (/api/customer-entitlements/check-entitlements)

`GET https://usage.comecero.com/v1/entitlements` (send `Authorization: Bearer <usage key>`, using an apk_test_ or apk_live_ key)

Checks a customer's feature access from your server. Send a usage key, not a Comecero API token. The key selects the shop and live or test mode. Comecero staff must enable entitlements for your shop before setup. Turning the switch off later does not remove existing grants from the meter. Answers use synced records and usage totals, seconds behind events. Cache successful answers until valid_until or for 60 seconds, whichever comes first, and invalidate them on entitlement:changed. Your app enforces has_access; valid usage events are still accepted at a hard limit. An all-feature check reads at most 32 usages, hard limits first. Ask for one feature alone to read all of its usage. A finite hard limit denies with usage_not_read whenever its usage cannot be read. Soft limits and unlimited grants keep access. This route sends no CORS headers. See [Check API](/docs/entitlements/check-api).

## Parameters

- `customer_id` (query, required): The id sent as external_customer_id on usage events, the customer's external_id or their Comecero customer_id when none is set.
- `feature` (query): One feature's key. Omit it for every feature.

Responses: 200, 400, 401, 403, 404, 429, 503.

Full schemas: operation `check_entitlements` in /openapi.json.