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

# Check Route Access Endpoint

`GET /checkRouteAccess`

## Request

- Base URL: `https://api.pavoot.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pavoot.com/checkRouteAccess`
- Auth: none declared

For middleware: returns { "allowed": true/false } for the current user and path.
Used to gate /faces, /personalized-tags, /photographers, /recipients by permissions.
Optional projectId pins the project (titles aren't unique); the title is the fallback.

## Query parameters

- `path` string, required: Path e.g. /ProjectTitle/faces
- `projectId` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-29** `e80dabcb96f2`: 1 info
  - added the new optional `query` request parameter `projectId`

[Operation history](https://skmtc.dev/pavoot/apis/pavoot-api/changes/checkRouteAccess/get.md)

---

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