Inbox and uploads

mail.purchaseCandidates

Find existing bank purchases to attach an authorized financial email as supporting evidence. Candidates remain separate; selecting a match requires human review.

GETPOST/api/v1/accounting/mail.purchaseCandidates

Permissions

mail:readaccounting:read

Who can call it

admin, finance

Retries

Safe to retry: it only reads

MCP

accounting_mail_purchase_candidates

Fields

  • idstring (ID)Required

    The record's ID.

  • querystring

    Text to search for.

    at most 100 characters

Example

curl -G https://app.getoatmilk.com/api/v1/accounting/mail.purchaseCandidates \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'id=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d'
Response
{
  "data": { … }
}

Try it

Try it

Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.

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

More in Inbox and uploads.