---
title: "Get entitlements"
method: GET
path: "/entitlements/customer_id/{customerId}/offer_id/{offerId}"
---

# Get entitlements

`GET /entitlements/customer_id/{customerId}/offer_id/{offerId}`

## Request

- Base URL: `https://api.sandbox.cleeng.com/3.1`
- URL: `https://api.sandbox.cleeng.com/3.1/entitlements/customer_id/{customerId}/offer_id/{offerId}`
- Auth: API key in header `X-Publisher-Token`

You can use this endpoint to check entitlements to a specific offer. <br><br> If there are two or more subscriptions / passes for the same `offerId` and the same `customerId`, it will return one object with the latest `expiresAt` date.

## Path parameters

- `customerId` integer, required
- `offerId` string, required

## Response `200`

200

- object
  - `accessGranted` boolean
  - `grantType` string
  - `expiresAt` integer
  - `message` string
  - `customerId` integer

## Other responses

- `422`: 422

---

[API](https://skmtc.dev/cleeng/apis/api-31.md) - [All operations](https://skmtc.dev/cleeng/apis/api-31/llms.txt) - [OpenAPI document](https://skmtc.dev/cleeng/apis/api-31/revisions/df55396cda4f?raw)
