Skip to main content
GET
/
v1
/
api
/
notifications
List notifications
curl --request GET \
  --url http://localhost:3091/v1/api/notifications \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 123,
    "type": "<string>",
    "title": "<string>",
    "message": "<string>",
    "read": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "link": "<string>",
    "avatar": "<string>",
    "senderName": "<string>"
  }
]

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/api/auth/login

Response

Notifications retrieved successfully

id
integer<int32>
type
string
title
string
message
string
read
boolean
createdAt
string<date-time>
avatar
string
senderName
string