Skip to content

Notification

Contains an API call to get list of user notifications.

API actions

API path: /notification.

list

Lists user notifications.

Parameters

Only API key hash.

Examples

curl -X POST 'https://api.navixy.com/v2/notification/list' \
    -H 'Content-Type: application/json' \
    -d '{"hash": "22eac1c27af4be7b9d04da2ce1af111b"}'
https://api.navixy.com/v2/notification/list?hash=a6aa75587e5c59c32d347da438505fc3

Response

{
    "success": true,
    "list": [{
         "id": 12451529,
         "message": "notification",
         "show_till": "2020-12-31 17:27:28"
    }]
}
  • id - int. An ID of notification.
  • message - string. Message of notification.
  • show_till - date/time. Date until notification should be shown.

Errors


Last update: October 16, 2024