List categories
Get all users categories.
GET /categories
Required scope:
- categories: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 categories that were modified since timestamp. Format:date-time |
type optional string
|
Category type Possible values:expense, income |
search optional string
|
Used to search categories. |
include_deleted optional boolean
|
Include deleted categories. |
ids optional string
|
A comma separated list of category ids to return. |
* denotes required field/parameter.
Request
$ curl https://api.toshl.com/categories \ -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl"