Toshl Developer

List exports

List all exports.

GET /exports

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: sending, sent, error

Request

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

Response

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

[
  {
    "id": "42",
    "emails": ["john@example.com"],
    "resources": ["expenses", "incomes"],
    "formats": ["csv", "xls"],
    "accounts": ["43"],
    "categories": ["44"],
    "from": "2013-09-01",
    "to": "2013-10-01",
    "modified": "2012-09-04T13:55:15Z",
    "status": "sent"
  }
]