SwiftGoma.SwiftGoma

Search endpoints

Jump to any API endpoint by name, method, or path

Reports

Email report

POST/api/v1/accounting/report/email

Generates the PDF report and emails it to configured admin recipients.

Requires Authorization
ADMIN, ACCOUNTANT only
Session

Body parameters

fromstring
ISO date.
tostring
ISO date.
Request
curl --request POST \
  --url https://api.swiftgoma.com/api/v1/accounting/report/email \
  --header 'Authorization: Bearer <access_token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "from": "<from>",
  "to": "<to>"
}'
200Example response
{
  "success": true,
  "data": {
    "sent": true,
    "reference": "SWG-REP-2026-02"
  }
}