---
title: "Is Entitled To Permission"
method: POST
path: "/v1/data/e10s/permissions/is_entitled_to_input_permission"
tags: ["Entitlements Check"]
---

# Is Entitled To Permission

`POST /v1/data/e10s/permissions/is_entitled_to_input_permission`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/v1/data/e10s/permissions/is_entitled_to_input_permission`
- Auth: none declared
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/v1/data/e10s/permissions/is_entitled_to_input_permission/post.ts> (a function with typed inputs; its response is checked against the schema)

Check whether a given user is entitled to the requested permission

## Request body

- object
  - `input` object
    - `subjectContext` SubjectContext
      - `userId` string
      - `tenantId` string, required
      - `permissions` string[]
      - `attributes` object
    - `requestContext` IsEntitledToPermissionDto
      - `permissionKey` string, required

## Response `200`

- PDPResponse
  - `decision_id` string, required
  - `metrics` object, required
  - `result` EntitlementsResult, required
    - `justification` 'MISSING_FEATURE' | 'MISSING_PERMISSION' | 'PLAN_EXPIRED' | 'MISSING_ROUTE' | 'ROUTE_DENIED'
    - `monitoring` boolean
    - `result` boolean, required

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
