---
title: "Check Route Access Endpoint"
method: GET
path: "/checkRouteAccess"
---

# Check Route Access Endpoint

`GET /checkRouteAccess`

For middleware: returns { "allowed": true/false } for the current user and path.
Used to gate /faces, /personalized-tags, /photographers, /recipients by permissions.

## Query parameters

- `path` string, required — Path e.g. /ProjectTitle/faces

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/pavoot/apis/fastapi.md) · [All operations](https://skmtc.dev/pavoot/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pavoot/fastapi/revisions/3966713f5d52/schema)
