Export expenses (Excel / CSV) for download
Builds and streams an export of the expenses matching the given scope/filters as an Excel or CSV file. The response is the binary file with a Content-Disposition attachment filename (RFC 5987 UTF-8 so Hebrew filenames survive). Requires the expenses:export scope and the x-business-id header.
Business API key, e.g. vuz_ab12cdef... Created via Settings → Integrations → API Keys. Unlike partner keys, a public API key's STRING does not encode its environment — isolation instead comes from a completely separate sandbox database: a key minted on the Sandbox server (above) only ever reads/writes sandbox data and can never see or affect production, regardless of what the key looks like.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/expenses/export" \ -H "Content-Type: application/json" \ -d '{}'
