insights.map.export
Generate a private PNG of the permitted Insights Map filters and supplied viewport, with native map attribution. Return a short-lived private download URL; no accounting records change.
GETPOST
/api/v1/accounting/insights.map.exportPermissions
accounting:read
Who can call it
admin, finance
Retries
Safe to retry: it only reads
MCP
accounting_insights_map_exportFields
filtersobjectRequiredNo other fields
viewportobjectRequiredNo other fields
width640 or 12806401280height360 or 720360720
Example
curl https://app.getoatmilk.com/api/v1/accounting/insights.map.export \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"filters": {},
"viewport": {
"center": {
"lat": 1,
"lon": 1
},
"zoom": 1
}
}'{
"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.
POST/api/v1/accounting/insights.map.export
curl https://app.getoatmilk.com/api/v1/accounting/insights.map.export \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"filters": {},
"viewport": {
"center": {
"lat": 1,
"lon": 1
},
"zoom": 1
}
}'More in Reports and tax.