dataImports.definitions
List what can be imported from a connected database (invoices and contractor payment history): each field with its type, whether it's required, and the kinds of columns it accepts, plus the databases imported from recently.
GETPOST
/api/v1/accounting/dataImports.definitionsPermissions
accounting:read
Who can call it
admin, finance
Retries
Safe to retry: it only reads
MCP
accounting_data_imports_definitionsFields
No input fields. Send an empty object, {}.
Example
curl https://app.getoatmilk.com/api/v1/accounting/dataImports.definitions \
-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/dataImports.definitions
curl https://app.getoatmilk.com/api/v1/accounting/dataImports.definitions \
-H "Authorization: Bearer $OATMILK_API_KEY"More in Connectors and webhooks.