dataImports.suggest
Suggest a column of a connected database (Notion) for each field of an import target, with a sample value per column, the status options found, and the mapping remembered for that database. Supply target, source and databaseId. A column whose name says it holds payment or tax details is marked sensitive, has no sample or options, and is never suggested or imported.
GETPOST
/api/v1/accounting/dataImports.suggestPermissions
accounting:read
Who can call it
admin, finance
Retries
Safe to retry: it only reads
MCP
accounting_data_imports_suggestFields
targetenumRequiredinvoicescontractor_paymentssourceenumWhere the record came from.
notionDefault "notion"
databaseIdstringRequired1–200 characters
Example
curl -G https://app.getoatmilk.com/api/v1/accounting/dataImports.suggest \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'target=invoices' \
--data-urlencode 'databaseId=example'{
"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/dataImports.suggest
curl -G https://app.getoatmilk.com/api/v1/accounting/dataImports.suggest \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'target=invoices' \
--data-urlencode 'databaseId=example'More in Connectors and webhooks.