documents.records.search
Find a record whose details can go into a document: contractors, customers and vendors (party), merchants, teammates (member) and the company itself. Filter by type and search by name or email. Returns each record's type, id, name and a short description; read its details with documents.records.get.
GETPOST
/api/v1/accounting/documents.records.searchPermissions
accounting:read
Who can call it
admin, finance
Retries
Safe to retry: it only reads
MCP
accounting_documents_records_searchFields
typeenumcontractorpartymerchantmembercompanyallDefault "all"
querystringText to search for.
at most 200 characters · Default ""
limitintegerHow many results to return at most.
1 to 25 · Default 10
Example
curl https://app.getoatmilk.com/api/v1/accounting/documents.records.search \
-H "Authorization: Bearer $OATMILK_API_KEY"{
"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/documents.records.search
curl https://app.getoatmilk.com/api/v1/accounting/documents.records.search \
-H "Authorization: Bearer $OATMILK_API_KEY"More in Documents and signing.