---
title: "Check entitlement"
method: POST
path: "/v1/entitlements/check"
tags: ["Entitlements"]
---

# Check entitlement

`POST /v1/entitlements/check`

Fast pre-request check: is this customer allowed to use this feature?

Returns `allowed: true/false` with remaining quota. Use this before processing
expensive requests to avoid wasting compute on customers who are over quota.

Redis-backed hot-path with DB fallback for persisted usage events.

## Request body

- object
  - `customerId` string, required — Customer ID
  - `featureKey` string, required — Feature/meter key (e.g., "search", "api_calls")
  - `quantity` number — Quantity to check (default: 1)

## Response `200`

Entitlement check result

- object — Entitlement check result
  - `allowed` boolean
  - `featureKey` string
  - `remaining` number
  - `limit` number
  - `unlimited` boolean
  - `period` 'DAILY' | 'MONTHLY'
  - `periodResetsAt` string, date-time
  - `reason` string

## Other responses

- `401` — Unauthorized
- `404` — Customer not found

---

[API](https://skmtc.net/usedrip/apis/drip-api.md) · [All operations](https://skmtc.net/usedrip/apis/drip-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usedrip/drip-api/revisions/2cb1567969ca/schema)
