Skip to main content
PATCH
/
notifications
/
{notificationId}
/
read
Mark Notification as Read
curl --request PATCH \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/notifications/{notificationId}/read \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "message": "Notification marked as read"
}
Marks a specific notification as read for the current user.

Required Permissions

  • notifications:update

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Path Parameters

ParameterTypeInRequiredDescription
notificationIdstringpathID of the notification to mark as read

Responses

✅ 200 - Notification marked as read

⚠️ 401 - undefined

⚠️ 404 - undefined

❌ 500 - undefined

Tags

Notifications

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

notificationId
string
required

ID of the notification to mark as read

Example:

"1"

Response

Notification marked as read

status
string
Example:

"success"

message
string
Example:

"Operation completed successfully"

I