Unread Count
Returns the count of notifications currently in the UNREAD status for the authenticated user.
Endpoint
Section titled “Endpoint”POST
/notification/v1/unreadcountRequest Body
Section titled “Request Body”curl -X POST https://api.juspredict.com/notification/v1/unreadcount \-H 'Authorization: Bearer YOUR_TOKEN' \-H 'Content-Type: application/json' \-d '{"status": 1}'{"status": 1}Response Body
Section titled “Response Body”{"status": {"type": "SUCCESS","details": []},"unread_msg_count": 5}{"status": {"type": "ERROR","details": [ { "code": "401", "message": "Unauthorized access token." }]}}Response Fields
Section titled “Response Fields”| Field | Type | Description |
|---|---|---|
status | Status | Operation status. |