Toshl Developer

List reports

List all reports.

GET /reports

Required scope:

Parameters

page
optional
integer

Page to display, used for pagination.

Minimum: >= 0
Default value: 0
per_page
optional
integer

Number of resource objects to return.

Minimum: >= 10
Maximum: =< 500
Default value: 200
status
optional
string

Export status.

Possible values: active, inactive

* denotes required field/parameter.

Request

$ curl https://api.toshl.com/reports \
  -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl"

Response

HTTP/1.1 200 OK
Content-Type: application/json

[
  
  {
    "id": "42",
    "emails": [
      "demo@toshl.com",
      "john@cleese.com"
    ],
    "export": {
      "resources": [
        "expenses",
        "incomes"
      ],
      "formats": [
        "pdf",
        "ofx"
      ],
      "filters": {
        "accounts": ["1","2","3"],
        "expenses": {
          "categories": ["42"],
          "tags": ["44"]
        },
        "incomes": {
          "!categories": ["43"],
          "!tags": ["45"]
        },
        "!locations": ["123"]
      }
    },
    "include": {
      "account_balances": true,
      "networth": true
    },
    "frequencies": [
      "weekly",
      "monthly",
      "yearly"
    ],
    "modified": "2020-10-14T13:55:15Z",
    "status": "active"
  }
]