[GET] List Notifications

Description: Get Notifications list related to tickets and user actions.

REST Method: GET

URL: /notifications.json

Request

Name Type Required Default Options Notes
developer_api_key String Yes Developer api key
per_page Int No 25 0-100 Number of notifications per page
page Int No 1 Page number
order String No asc asc/desc Order of results

Using curl

curl -X GET 'https://api.bornevia.com/notifications.json?developer_api_key=[YOUR_DEVELOPER_API_KEY]&per_page=1&page=1&order=asc'

Response

Response Name Type Notes
Header Status Int 200 - Success
400 - Per page is not a number or in between 0 and 100
400 - Page is not a number or page is less than 0
400 - Order is not 'asc' or 'desc'
Body notifications Collection Collection of notification objects
[
  {
    "id": 909599,
    "user_id": 225,
    "ticket_id": 655887,
    "message": "Tjiu Suryanto assigned ticket #655887 to Benny Tjia",
    "created_at": "2015-10-29T12:23:01.000Z",
    "updated_at": "2015-10-29T12:23:06.000Z",
  }
]
Last updated on 24th Feb 2016