Toshl Developer

Get report

Get report details.

GET /reports/{id}

Required scope:

Parameters

id *
required
string

Report id.

* denotes required field/parameter.

Request

$ curl https://api.toshl.com/reports/42 \
  -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"
}