# evidence.inboxSearch.get

Read an inbox search (id), or the latest search of each purchase (entryIds, comma-separated, up to 100): its status, runId, and each purchase's state and outcome with counts of emails found and screened. Contributors see only their own searches. Mail content is never returned, except the sender, subject and date of a receipt that was copied into company mail, for people who may read company mail.

`GET | POST /api/v1/accounting/evidence.inboxSearch.get`

Permissions: `accounting:read` · Roles: admin, finance, contributor

MCP tool: `accounting_evidence_inbox_search_get`

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | string (ID) |  | The record's ID. |
| `entryIds` | string |  | IDs of accounting entries, from entries.list or attention.mine. at most 3800 characters; Matches ^[0-9a-f-]{36}(,[0-9a-f-]{36}){0,99}$. |

## Example request

```bash
curl -G https://app.getoatmilk.com/api/v1/accounting/evidence.inboxSearch.get \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'id=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d'
```

Reference page: https://app.getoatmilk.com/docs/api/evidence.inboxSearch.get
