---
title: "Get Project Locked Photographers Endpoint"
method: GET
path: "/getProjectLockedPhotographers"
---

# Get Project Locked Photographers Endpoint

`GET /getProjectLockedPhotographers`

Locked photographer ids (restriction reason 'photographer', migration 025).

Images shot by these photographers are excluded from share links unless the link opts in —
this is what backs permanent licensing restrictions (e.g. agency images that media may use
but partners may not).

Single project  -> {projectId, lockedPhotographers: [...]}.
projectIds[]    -> additionally {locksByProject: {"38": [...], ...}} for the All-Projects
                   photographers table, where one photographer can be locked in some of
                   their projects and not others.

## Query parameters

- `projectId` integer, nullable
- `projectIds[]` integer[]

## 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)
