---
title: "Ingest"
method: POST
path: "/api/am-capture/ingest"
tags: ["am-capture"]
---

# Ingest

`POST /api/am-capture/ingest`

## 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/am-capture/ingest`
- Auth: none declared

Manual/test trigger for one mailbox's ingest batch. Builds the
live/stub Gmail adapter from settings on every call (no scheduler, no
adapter cached across requests) -- see
app/modules/am_capture/gmail_adapter.py build_gmail_adapter.

## Request body

- IngestRequest
  - `mailbox` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[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)
