PUT /api/v1/notifications/{id}/read
Marks a single notification as read.
Authentication​
Required. Bearer token in Authorization header.
Request​
Path Parameters​
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Notification ID |
Example​
curl -X PUT https://intotes.com/api/v1/notifications/1/read \
-H "Authorization: Bearer <access_token>"
Response​
200 OK​
{
"message": "notification marked as read"
}
Errors​
| Status | Code | Description |
|---|---|---|
| 401 | unauthorized | Missing or invalid authentication token |
| 404 | not_found | Notification not found or does not belong to user |
| 500 | internal_error | Server failed to update notification |