intake

A person stops a piece: the human judgement is recorded on the capture.

TWO RULES LIVE HERE:

  1. The person's stop always wins over an OK, and it moves the piece to hold. Owner, 2026-10-29 (design README: "Every stop goes to Hold." and "Unscannable Keep pieces go to Hold, not Keep."; ruling docs/01_decisions/rulings/2026-10-29-every-stop-goes-to-hold.md). This supersedes the 2026-10-27 rule that a stop never changes the decision. The replaced decision is kept in decision_before_stop for the Stopped screen. The machine keeps its hands off a stopped row afterwards -- hold_reread._UPDATE_SQL only re-decides a capture whose human_stop IS NULL.
  2. A privilege return is never changed by a stop, and never to keep. Owner, 2026-10-27, kept: "Privilege is still a return to sender. So privilege is not a different category. Privilege is return to sender." captures._STOP_SQL leaves decision and the reason alone on a privilege row.

One UPDATE, no model call and no background task: the person is standing at the station and the next envelope is already coming (owner, 2026-10-27: "I'm more so concerned about speed"). 404 when there is no such capture, 422 when the reason is not one of the four taps. A second stop replaces the first (the latest tap is the latest judgement; a touchscreen mis-tap is fixable).

post/api/intake/captures/{capture_id}/stop

Request

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

Path parameters

capture_id, string uuid required

Request body

StopRequest required

A person's one-tap stop on one capture: why, and (optionally) a note.

OWNER, 2026-10-27: "What if the human flags something that the system doesn't catch? ... a greeting card with glitter on it" / "How does the system know that the human made that judgment?" -- the four reasons are intake/domain.STOP_REASONS (one home, mirrored by the table's CHECK), and the note is capped at intake/domain.MAX_STOP_NOTE so it stays a label.

reason, string required
note, string nullable

Response

Successful Response

object required

Changes