Toshl Developer

List imports

Get all imports.

GET /bank/imports

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

* denotes required field/parameter.

Request

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

Response

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

[
  {
    "id": "42",
    "account": "42",
    "modified": "2016-11-11 10:28:10.435",
    "status": "completed",
    "metadata": {
      "expenses": 2,
      "incomes": 1,
      "from": "2016-07-14",
      "to": "2016-07-29"
    },
    "filename": "import.qif"
  }
]