Skip to main content
PUT
/
notifications
Mark Notifications Read
curl --request PUT \
  --url https://api.example.com/notifications \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": [
    {}
  ]
}
'

Request Body

ids
array
required
Array of notification IDs to mark as read. Each ID should be a string.

Response

Returns a 204 No Content status on success with an empty response body.
The user ID is automatically extracted from the authentication context. Only notifications belonging to the authenticated user will be marked as read.

Example Request

curl -X PUT "https://api.chronoverse.com/notifications" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "ids": ["notif_12345", "notif_12346", "notif_12347"]
  }'

Example Response

HTTP/1.1 204 No Content

Build docs developers (and LLMs) love