Overview / Finance / List generated reports

List generated reports

get https://api.flactrum.com/v1/reports
Required scope reports.read
Panel screenFinance → Reports
Success status200
Returns A paginated list of Report objects

Parameters

NameInTypeDescription
category query string —
branch_id query string —
from query string —
to query string —
page query integer Page number.
per_page query integer Page size. Values above the maximum are rejected rather than silently clamped.
sort query string Column to sort by. Each endpoint lists what it accepts.
direction query string Sort direction.

Response fields

FieldTypeDescription
id string —
category string —
branch_id string|null Null means the whole brand.
period_start string —
period_end string —
generated_at string —
figures object The report body, frozen at generation time. An order entered later never changes a stored report.

Examples

Recorded from the test suite — these are real requests and their real responses.

curl -X GET 'https://api.flactrum.com/v1/reports' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 200 · application/json

{
    "data": [
        {
            "id": "01m43myas0fnbeamp04k7he18a",
            "category": "financial",
            "type": "daily",
            "branch_id": null,
            "period_start": "2026-10-02",
            "period_end": "2026-10-03",
            "generated_at": "2026-10-04T14:26:31+00:00",
            "figures": {
                "rows": [],
                "totals": {
                    "cost": 0,
                    "profit": 0,
                    "discount": 0,
                    "net_revenue": 0
                }
            },
            "created_at": "2026-10-04T14:26:31+00:00"
        }
    ],
    "meta": {
        "total": 1,
        "page": 1,
        "per_page": 25,
        "last_page": 1
    }
}