The Notifications API delivers in-app messages to specific users. Notifications have a type (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/CLINTONARMANDO/apiregistropendientes/llms.txt
Use this file to discover all available pages before exploring further.
INFO, SUCCESS, WARNING, ERROR) and a read state (NO_LEIDO, LEIDO). The most common workflow is to fetch a user’s unread notifications on app load and then mark them as read when viewed.
All endpoints require a valid Bearer token. Include
Authorization: Bearer <token> in every request header.Create a notification
POST /api/notificaciones
Creates and delivers a new notification to a specific user.
Request body
Notification title — displayed as the headline in the notification UI.
Full notification message body.
Notification type. Controls visual styling. One of:
INFO, SUCCESS, WARNING, ERROR.ID of the user who should receive the notification.
Response fields
Unique notification ID.
Notification title.
Notification message body.
Type:
INFO, SUCCESS, WARNING, or ERROR.Read state:
NO_LEIDO (unread) or LEIDO (read).ISO 8601 timestamp when the notification was created.
ID of the recipient user.
List all active notifications
GET /api/notificaciones
Returns all notifications where vigente = true, across all users. Intended for admin use.
List notifications for a user
GET /api/notificaciones/usuario/{usuarioId}
Returns paginated notifications for a specific user. Use the estado query parameter to filter by read status — the most common use case is fetching unread notifications on app startup.
Path parameters
ID of the user whose notifications to retrieve.
Query parameters
Filter by read status. Pass
NO_LEIDO to retrieve only unread notifications. Omit to return all.Zero-based page index.
Number of records per page.
Update a notification
PUT /api/notificaciones/{id}
Updates a notification record. The primary use case is marking a notification as read by changing estado from NO_LEIDO to LEIDO.
Path parameters
Numeric ID of the notification to update.
Request body
Updated read state. Pass
LEIDO to mark as read.Updated title.
Updated message body.
Delete a notification
DELETE /api/notificaciones/{id}
Soft-deletes a notification by setting vigente = false. The record is retained in the database but will no longer appear in list responses.
Path parameters
Numeric ID of the notification to deactivate.
Enumerations
Notification types
| Value | Description | Typical use |
|---|---|---|
INFO | Informational message | Assignment updates, status changes |
SUCCESS | Success confirmation | Work order completed, payment recorded |
WARNING | Caution or advisory | Approaching deadlines, missing data |
ERROR | Error or failure alert | Sync failure, configuration error |
Notification states
| Value | Description |
|---|---|
NO_LEIDO | Unread — notification has not been seen by the user |
LEIDO | Read — user has viewed the notification |