Notifications
Mark notification read
POST
/api/v1/notifications/:id/readMarks a single notification as read.
Requires Authorization
Session
Path parameters
idstringrequired | Notification ID. |
Request
curl --request POST \
--url https://api.swiftgoma.com/api/v1/notifications/:id/read \
--header 'Authorization: Bearer <access_token>'200Example response
{
"success": true,
"data": {
"id": "notif_1a2b3c",
"userId": "3f2a1c9e",
"type": "ORDER_STATUS",
"title": "Votre commande a été acceptée",
"body": "Boutique Aline vient d'accepter votre commande.",
"data": {
"orderId": "ord_5e6f7a"
},
"isRead": true,
"createdAt": "2026-02-15T09:10:00.000Z"
}
}