Skip to main content
Mark Notification as Read
Marks a specific notification as read. The notification must belong to the authenticated user — users cannot mark another user’s notifications as read.
This endpoint requires an authenticated user. Include a valid Authorization: Bearer <accessToken> header, or use a service key and name the user in actingUserId.

Path Parameters

string
required
The UUID of the notification to mark as read.

Body Parameters

string
Service key only, and required with one: the user this request acts as. The notification must belong to this user. A user token always acts as its own user and must not send it (400 app-notification/acting-user-not-allowed).

Response

Returns HTTP 204 No Content with no body.

Error Responses

Returned when the notification does not exist or does not belong to the authenticated user.
Returned when notificationId is not a valid UUID.
No Authorization header was sent. The body is text/plain, not JSON:
The header was sent but the token failed verification. Refresh the access token and retry. The body is text/plain, not JSON:
A service key sent no actingUserId.
A user token sent actingUserId, even naming its own user. Only a service key names the user it acts as; a user token always acts as its own user.
Returned when a service key names an actingUserId that isn’t a user in this project.
The request sent userId. On this route the user a service key acts as is actingUserId.With a service key:
With a user token, or with no credentials:

See Also