List accounts
Get all users accounts.
GET /accounts
Required scope:
- accounts: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 accounts that were modified since timestamp. Format:date-time |
status optional string
|
Return only accounts with a specific status. Possible values:active, inactive, archived |
include_deleted optional boolean
|
Include deleted accounts. |
ids optional string
|
A comma separated list of account ids to return. |
* denotes required field/parameter.
Request
$ curl https://api.toshl.com/accounts \ -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl"