Notifications provide real-time updates to users. They are stored in Redis and support three types: messages, alerts, and reminders.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/mvriu5/forge/llms.txt
Use this file to discover all available pages before exploring further.
Notification Types
message- General informational messagesalert- Important alerts requiring attentionreminder- Time-based reminders
Get Notifications
Retrieve the latest 50 notifications for the authenticated user.Response
Returns an array of notification objects, sorted by creation time (newest first).Unique notification identifier
ID of the user this notification belongs to
Notification type:
message, alert, or reminderNotification message content
Creation timestamp
- Success (200)
- Error (401)
Notifications are limited to the 50 most recent entries per user.
Create Notification
Create a new notification for the authenticated user.Request Body
Notification type:
message, alert, or reminderNotification message content
Response
Returns the created notification object.- Success (200)
- Error (400)
- Error (401)
Clear Notifications
Delete all notifications for the authenticated user.Response
- Success (200)
- Error (401)
Real-time Updates
Notifications support real-time delivery via WebSocket channels. When a notification is created, it’s automatically broadcast to the user’s channel:Storage
Notifications are stored in Redis using a list data structure:- Key format:
notifications:user:{userId} - Stored as Redis list (LPUSH for new items)
- Automatically trimmed to 100 most recent notifications
- Retrieved in reverse order (newest first)
Notifications are stored in Redis for fast access and automatic expiration. The system maintains up to 100 notifications per user, but only returns the 50 most recent via the API.