---
title: "Search"
method: GET
path: "/api/customer-search"
tags: ["customer-search"]
---

# Search

`GET /api/customer-search`

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

One typed line, read every way it could be meant. Always 200 when the
line is searchable: Pigeonly being down is `pigeonly.state`, never a 5xx, so
the mail senders and orders Roost holds still show.

`pigeonly.state` is `ok`, `slow` (the account search was not answered in time) or
`unavailable`; every OTHER part that did not come back is a note in `notes`
(`part`, `state`, `count`), and the rows that did come back are all there.

INSIDE THE PAGE'S TIME (2026-11-14, ledger S-05): never more than `service.PAGE_SECONDS`
on Pigeonly; `looking` names what is still being fetched, and the page asks again with
`again=true`, which joins those fetches and never starts a second account search.

## Query parameters

- `q` string
- `again` boolean

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-15** `20e06744878e`: 1 info
  - added the new optional `query` request parameter `again`

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