Skip to main content

PUT /api/v1/notifications/{id}/read

Marks a single notification as read.

Authentication​

Required. Bearer token in Authorization header.

Request​

Path Parameters​

ParameterTypeRequiredDescription
idintegerYesNotification 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​

StatusCodeDescription
401unauthorizedMissing or invalid authentication token
404not_foundNotification not found or does not belong to user
500internal_errorServer failed to update notification