Skip to main content
GET
/
api
/
notifications
Get user notifications
curl --request GET \
  --url https://serengo.zias.be/api/notifications \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "type": "<string>",
    "message": "<string>",
    "read": true,
    "createdAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer
default:20
offset
integer
default:0
unreadOnly
boolean

Response

200 - application/json

Notifications

id
string
type
string
message
string
read
boolean
createdAt
string<date-time>