Get All Notification
Get all notifications of the user. This endpoint allows you to get notification by ID.
GET /api/v1/client/account/notifications/{notificationId}
Responses
Code | Description |
---|---|
200 | All notifications of the user |
409 | Unauthorized |
Respomse Sample
Content type
application/json
[
{
"statusCode": 200,
"success": true,
"data": [
{
"id": "619c0911b46b424f5f3e470f",
"createdAt": "2020-05-05T00:00:00.000Z",
"updatedAt": "2020-05-05T00:00:00.000Z",
"entity": {},
"title": "Policy created",
"body": "lorem ipsum dolor sit amet",
"status": "unread",
"readAt": "2020-01-01T00:00:00.000Z"
}
]
}
...
]