Toshl Developer

List notifications

List all notifications.

GET /me/notifications

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
since
optional
string

Return all new notifications since timestamp.

Format: date-time
include_deleted
optional
boolean

Include deleted notitications.

* denotes required field/parameter.

Request

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

Response

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

[
  {
    "id": "42",
    "type": "entry",
    "action": "43",
    "date": "2013-06-19T16:23:05+00:00Z",
    "modified": "2012-09-04T13:55:15Z",
    "deleted": false
  }
]