---
title: "Capture Photo"
method: GET
path: "/api/intake/captures/{capture_id}/photo"
tags: ["intake"]
---

# Capture Photo

`GET /api/intake/captures/{capture_id}/photo`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/intake/captures/{capture_id}/photo`
- Auth: none declared

The real photo of one capture, as JPEG bytes, for the station's result card, Seen before and the full-screen view.

WHY IT EXISTS (owner, 2026-11-07, verbatim in ruling docs/01_decisions/rulings/2026-11-07-the-intake-card-shows-the-real-photo.md):
"we need a bigger picture of the photo so that people can look at the photo and visually make sure that the
agreement that they're saying keep matches the photo that they had in their hand ... It doesn't show the picture
of the photo." No route served the bytes, so the card drew the design's envelope drawing instead.

THE RULE IT ENFORCES: the photo is shown only to a signed-in person holding `fulfillment:intake:read` (`INTAKE_READ`,
the same grant as the capture's detail, so a person who can read the record can see the envelope it is about). The
dependency refuses an anonymous request with 401 before this body runs. The bytes are streamed through this request,
never a bucket URL, so nothing internal is ever on a public link (owner rule 2026-10-29). `Cache-Control: private,
no-store` keeps a shared machine's cache from keeping the envelope.

Answers: 200 image/jpeg; 404 when no photo was kept for this capture (or no such capture); 503 when the photo store
errors. The browser fetches it as a blob (`lib/api.fetchObjectUrl`), because an `<img>` tag cannot send the bearer
token. A read, no write.

## Path parameters

- `capture_id` string, uuid, required

## Query parameters

- `back` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-12-04** `14571c4b7007`: 1 info
  - added the new optional `query` request parameter `back`
- **2026-11-07** `7287169339ff`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/changes/api/intake/captures/:capture_id/photo/get.md)

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
