Skip to main content
POST
/
fetchChatNotifications
Fetch chat notification count (no body params, returns unread count only)
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/fetchChatNotifications \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Query Parameters

athlete_id
integer

Agent delegation via query string

Example:

123

Response

200

Unread notification count