Get Notifications
Get notification history for the authenticated user.
Authentication: Requires JWT token in Authorization header Usage: Mobile app notification inbox screen
Returns paginated list of notifications ordered by creation date (newest first). User can only see their own notifications (user_id extracted from JWT token).
query Parameters
pagePage number
Page number
limitItems per page
Items per page
unread_onlyFilter only unread notifications
Filter only unread notifications
Get Notifications › Responses
Successful Response
totalpagepage_sizehas_moreGet Unread Count
Get count of unread notifications for the authenticated user.
Authentication: Requires JWT token Usage: Mobile app badge display on notification tab
Returns count of notifications where is_read=false.
Get Unread Count › Responses
Successful Response
unread_countMark As Read
Mark a specific notification as read.
Authentication: Requires JWT token Authorization: User can only mark their own notifications Usage: When user taps a notification in mobile app
Returns 204 No Content on success. Raises 404 if notification not found, 403 if user doesn't own it.
path Parameters
notification_idNotification ID to mark as read
Notification ID to mark as read
Mark As Read › Responses
Successful Response
Get Preferences
Get notification preferences for the authenticated user.
Authentication: Requires JWT token Usage: Settings screen in mobile app
Returns user's notification category preferences and muted artists. If user hasn't configured preferences, returns sensible defaults.
Get Preferences › Responses
Successful Response
user_idmuted_artistsUpdate Preferences
Update notification preferences for the authenticated user.
Authentication: Requires JWT token Usage: When user changes settings in mobile app
Accepts partial updates (can update preferences or muted_artists independently). Returns updated preferences after save.
Update Preferences › Responses
Successful Response
user_idmuted_artists