---
title: "Get Upload Links Endpoint"
method: GET
path: "/getUploadLinks"
---

# Get Upload Links Endpoint

`GET /getUploadLinks`

## 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/getUploadLinks`
- Auth: none declared

Upload links for a project, scoped to what the caller is allowed to see.

Two capabilities (migration 028):
  * settings.manage.uploadLinks -> every link in the project (the timetable / manager view)
  * uploadLinks.viewAssigned    -> ONLY the links assigned to them, read-only, plus the
    unassigned links marked "show to all photographers" (migration 084)

Before this, any project member got every link — so a photographer could see the whole
shooting schedule and everyone else's tokens.

asPhotographerId (managers only): return exactly what that photographer's own call returns —
the organizer's "Preview as photographer". Same SQL filter, so the preview cannot drift.
The response also carries `sort`, the project-wide order both views apply.

## Query parameters

- `projectId` integer, required
- `asPhotographerId` 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 `asPhotographerId`

[Operation history](https://skmtc.dev/pavoot/apis/pavoot-api/changes/getUploadLinks/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)
