---
title: "Facility By Code"
method: GET
path: "/api/intake/facilities/{code}"
tags: ["intake"]
---

# Facility By Code

`GET /api/intake/facilities/{code}`

## 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/facilities/{code}`
- Auth: none declared

The live facility a person's typed code names, for the station to show before a Keep is confirmed.

OWNER, 2026-11-07 (FLR-174): "press keep ... enter the facility code". The station shows "<name> · <code>" from this
answer and the person confirms it; the PATCH validates the same code again, so this read is never the only check.
A read, no write. 404 with the words when no live facility has the code (the station shows them, nothing is kept).
Read from the database (`captures.facility_named_by_code`), not the warm roster, so a cold start cannot refuse a real code.

## Path parameters

- `code` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-08** `d7f02ac6e417`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/changes/api/intake/facilities/:code/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)
