---
title: "File Order"
method: POST
path: "/api/rooster/owner-orders"
tags: ["rooster-owner-orders"]
---

# File Order

`POST /api/rooster/owner-orders`

## 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/rooster/owner-orders`
- Auth: none declared

Files one open order (status `received`, no probe yet) under the owner grant; idempotent on `ledger_id`. The
operator script's `file` and `import-lead-store` call it (`scripts/owner_orders/register.py`); the lead's
`owner-orders.json` is retired once its entries are filed here (ruling 2026-11-03, rule 6).

## Request body

- AppModulesRoosterOwnerOrderRoutesFileIn: One order to file: the text, a unique ledger id (`lead:<id>`, `audit:<id>`, `chat:<date>-<slug>`), where it came from, and his own words when they exist.
  - `text` string, required
  - `ledger_id` string, required
  - `section` string, nullable
  - `owner_words` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-04** `bfbca86091ee`: 1 info
  - endpoint added

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