Create Capture
Changed onOne envelope's outside in, the keep / return / DLO / hold decision out.
HOTFIX 2026-11-03 (OWNER's standing order on capture IN-SNSEUZNS; ruling docs/01_decisions/rulings/2026-11-03-the-camera-runs-only-on-intake-stations.md): a capture is accepted ONLY from a registered intake station (registered_station). From any other computer the request is refused with 403 not_a_station BEFORE the image is read, so no photo is stored, no ID is minted and no row is written. The page-side camera is off on such a computer too; this is the server's own answer, never a promise by the page. A refused photo of no envelope is refused again at the no-envelope check below (is_no_envelope, FLR-178 and the 2026-11-03 hotfix, ruling 2026-11-03-a-photo-of-a-person-is-never-kept).
2026-11-03 (hotfix, ruling docs/01_decisions/rulings/2026-11-03-a-book-magazine-or-package-is-hold.md): an optional scale_grams form field, the station's postal scale reading (OPTIONAL hardware; absent or invalid is ignored, captures.parse_scale_grams). A piece that is not a letter (a book, magazine, catalog or package by the reader's words, the printed postage, or over 99 g) is a HOLD with reason not_scannable, never a keep.
INTAKE-V2-SIZE-1 (2026-11-15; ruling 2026-11-07-the-mat-tells-the-station-what-is-on-the-pad): optional envelope_length_mm, envelope_width_mm and envelope_angle_deg, the envelope the station measured on the printed mat (charucoMat.envelopeSize). Stored on the capture row by the claim (captures.parse_envelope_size); absent or impossible stores NULL. The size never changes the decision and never refuses a photo.
2026-11-23 (owner, Frederick: "we need to remove the seeing this piece before. Now that we have the barcode, we can rely on focusing on barcodes to recognize pieces, not if visually the piece looks the same. It's causing too many false positives."; ruling docs/01_decisions/rulings/2026-11-23-a-piece-is-recognised-by-its-barcode-not-its-look.md). SUPERSEDES the picture and read check described in the paragraph below, which is left as the record: a photo brings an existing piece back ONLY when it shows our intake sticker naming that capture (STICKER-RECALL, recall.by_sticker). Every other photo is a NEW capture: no picture match, no read-field match, no printed mail-code match, no tie list. A voided or unknown sticker is still refused (409), and force_new still skips the sticker check.
OI-INTAKE-102 (HISTORY, superseded 2026-11-23 by the barcode-only rule above; kept so the record of why is not lost): until 2026-11-23 a photo with no sticker was also compared with this station's captures, by picture fingerprint, read keys and printed codes (recall.match), and a look-alike was listed as a tie. That look-alike match is removed from this route; the fingerprint is still stored on every capture (captures.claim_capture). The same-envelope rule of 2026-11-03 and its 2026-11-07 correction are in docs/01_decisions/rulings/2026-11-03-the-same-envelope-is-one-intake-id.md. The check and the claim still run under a per-station lock (hotfix 2026-11-03), so two replicas cannot both count the same sticker. OWNER, 2026-10-27: "it should recognize that it's already seen that, bring parcel 5 record back." Every capture also gets its short intake ID here (intake/ids.mint), so the answer already carries the number a person can quote on a call even when the piece is never scanned (owner, 2026-10-28: "we should give every parcel an ID"). Every barcode/QR on the photo is decoded after the response (intake/codes, in captures.persist_capture).
FLR-178 (owner, 2026-11-02; ruling 2026-11-02-a-photo-with-no-envelope-is-never-a-capture): a photo the reader says holds no envelope, and on which it reads nothing, is refused with 422 no_envelope before any ID is minted, row is written or photo is remembered. Nothing is counted for it.
JEV IS THE SECOND CHECK, NEVER A GATE (owner, 2026-11-11; plan step A.5, approved 2026-11-10; ruling docs/01_decisions/rulings/2026-11-11-jev-is-the-second-check-not-a-gate.md). Jev is asked one closed question about the photo at the same moment the reader starts, and runs beside the read (intake/envelope_check). The refusal for "no envelope" is the reader's alone. Jev "no" never refuses: the photo is kept for the training set and logged. Jev "yes" turns a reader refusal into a Hold "unreadable". Jev never delays a capture. This replaces the 2026-11-09 pre-read gate (intake_jev_envelope_gate, now deleted; ruling 2026-11-09-jev-sees-the-envelope-before-the-read is kept as record).
FLR-174 part 4 (owner, 2026-11-02, "The system needs to use AI to capture the envelope if it's not straight"): the envelope is found in the photo, turned upright and cut out (intake/envelope_crop) before the one read, and the reader is shown the crop; the whole photo is still stored, and the crop beside it. Ruling docs/01_decisions/rulings/2026-11-02-the-envelope-is-found-before-it-is-read.md.
GLARE (owner, 2026-11-03; ruling docs/01_decisions/rulings/2026-11-03-glare-at-the-station.md). With the intake_glare_guard setting ON, the reader is told a bright patch may hide the address. A read the glare caused (domain.is_glare: the reader says glare AND the address was left unread) is refused ONCE with 422 glare, before any ID is minted, row is written or photo is remembered, so the station can ask for the next still frame. The station sends that retry with glare_retry = true: it is decided like any other photo, so a Hold stays a Hold. With the setting OFF nothing here changes.
Request
- Base URLhttps://api.pigeonly.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Request body multipart/form-data
Response
Successful Response
Changes
- info
added the new optional request property
label_request_id
- info
- info
added the new optional request property
station_ms
- info