Toshl Developer

List reviews

Get all users pending reviews. Response contains header X-Total-Count which contains the number of all entries to review.

GET /entries/review

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: >= 1
Maximum: =< 500
Default value: 200
accounts
optional
string

Comma separated list of account ids. When set, only reviews from selected accounts are returned.

connections
optional
string

Comma separated list of category ids. When set, only reviews from selected connections are returned.

include_completed
optional
boolean

Set to true if you wish completed reviews to be returned.

* denotes required field/parameter.

Request

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

Response

HTTP/1.1 200 OK
Content-Type: application/json
X-Total-Count: 42

[
  {
    "id": "42",
    "types": [
      "transfer",
      "income"
    ],
    "matches": [
      "43",
      "44"
    ],
    "accounts": [
      "42",
      "43"
    ]
  }
]