---
title: "Is Entitled To Route"
method: POST
path: "/v1/data/e10s/routes/is_entitled_to_input_route"
tags: ["Entitlements Check"]
---

# Is Entitled To Route

`POST /v1/data/e10s/routes/is_entitled_to_input_route`

## Request

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

Check whether a given tenant or user is entitled to the requested route

## Request body

- object
  - `input` object
    - `subjectContext` SubjectContext
      - `userId` string
      - `tenantId` string, required
      - `permissions` string[]
      - `attributes` object
    - `requestContext` IsEntitledToRouteDto
      - `method` 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | '*', required
      - `path` 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)
