Returns up to 50 unread notifications for the current user with the unread total, for the notification dropdown.
Not paginated. notification_type narrows the list; it defaults to all.
Endpoint
Method:
GETPath:
/notifications/unreadEdition: Core
Controller:
NotificationsController@getUnreadNotificationsRoute source:
fluent-community/app/Http/Routes/api.php:132Controller source:
fluent-community/app/Http/Controllers/NotificationsController.phpRequires a signed-in user.
Live sample
The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.
GET List Unread Notifications
Returns up to 50 unread notifications for the current user with the unread total, for the notification dropdown.
Controller: NotificationsController@getUnreadNotifications
Route source: fluent-community/app/Http/Routes/api.php:132
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Query Parameters
Notification Type read via $request->get() in getUnreadNotifications().
"all"Responses
Successful response