Reports
Download report (CSV)
GET
/api/v1/accounting/report/csvSame report data as a CSV file.
Requires Authorization
ADMIN, ACCOUNTANT only
Session
Query parameters
fromstring | ISO date. |
tostring | ISO date. |
Request
curl --request GET \
--url https://api.swiftgoma.com/api/v1/accounting/report/csv \
--header 'Authorization: Bearer <access_token>'200Example response
{
"success": true,
"data": {
"message": "Returns text/csv — not a JSON body."
}
}