GET /api/v1/student/{studentId}/notifications

Retrieve all notifications for a specific student including system-wide and role-specific notifications

Path parameters

  • studentId string Required

    Unique identifier of the student

Responses

  • 200 application/json

    Student notifications retrieved successfully

    Hide response attributes Show response attributes object
    • message string Required

      Success message

    • success boolean Required

      Success status

    • notifications array[object] Required

      Notifications

      Hide notifications attributes Show notifications attributes object
      • id string Required

        Notification ID

      • title string Required

        Notification title

      • message string Required

        Notification message

      • isRead boolean Required

        Read status

      • createdAt string Required

        Created timestamp

  • 400 application/json

    Default bad request error 400 response

    Hide response attributes Show response attributes object
    • message string Required

      Response message

    • error string Required
    • statusCode number Required
  • 404

    Student not found

GET /api/v1/student/{studentId}/notifications
curl \
 --request GET 'http://localhost:3500/api/v1/student/uuid-string/notifications'
Response examples (200)
{
  "message": "string",
  "success": true,
  "notifications": [
    {
      "id": "uuid-string",
      "title": "Assignment Due",
      "message": "Your assignment is due tomorrow",
      "isRead": false,
      "createdAt": "2025-09-25T10:30:00.000Z"
    }
  ]
}
Response examples (400)
{
  "message": "string",
  "error": "string",
  "statusCode": 42.0
}