notion.lookup
Find likely Notion pages for an Oatmilk account, invoice, or contractor in the mapped databases. Candidates are ranked by name, email, website domain, invoice number, amount, and dates, with the reasons for each match. Nothing is linked until a person confirms.
GETPOST
/api/v1/accounting/notion.lookupPermissions
accounting:read
Who can call it
admin, finance
Retries
Safe to retry: it only reads
MCP
accounting_notion_lookupReaches outside Oatmilk
It emails people or calls another service.
Fields
localTypeenumRequiredpartyinvoicecontractorlocalIdstring (ID)RequiredThe ID of the related record.
roleenumA person's access level in the company.
invoicescompaniesvendorscontactsquerystringText to search for.
at most 100 characters
Example
curl -G https://app.getoatmilk.com/api/v1/accounting/notion.lookup \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'localType=party' \
--data-urlencode 'localId=1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d'{
"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/notion.lookup
curl -G https://app.getoatmilk.com/api/v1/accounting/notion.lookup \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'localType=party' \
--data-urlencode 'localId=1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d'More in Connectors and webhooks.