List entries
Get all users entries.
GET /entries
Required scope:
- entries:r
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 |
since optional string
|
Return all entries that were modified since timestamp. Format:date-time |
from * required string
|
Used to define date range, in YYYY-MM-DD format. To filter by date both from and to must be set. Format:date |
to * required string
|
Used to define date range, in YYYY-MM-DD format. To filter by date both from and to must be set. Format:date |
type optional string
|
Entry types to return Possible values:expense, income, transaction |
accounts optional string
|
A comma separated list of account ids. If used only entries from the specified accounts are returned. |
categories optional string
|
A comma separated list of category ids. If used only entries in the specified categories are returned. |
!categories optional string
|
A comma separated list of category ids. If used only entries not in the specified categories are returned. |
tags optional string
|
A comma separated list of tag ids. If used only entries with the specified tags are returned. |
!tags optional string
|
A comma separated list of tag ids. If used only entries without the specified tags are returned. |
locations optional string
|
A comma separated list of location ids. If used only entries entered at the specified locations are returned. |
!locations optional string
|
A comma separated list of location ids. If used entries not entered at the specified locations are returned. |
repeat optional string
|
Used to return only entries that are part of the specified repeat. |
parent optional string
|
Used to return only entries with the same parent. |
search optional string
|
Used to search entries. |
include_deleted optional boolean
|
Include deleted entries. |
expand optional boolean
|
If set to true the API will automatically expand repeating entries. |
* denotes required field/parameter.
Request
$ curl https://api.toshl.com/entries \ -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl"