Mark visitor feedback comments as read — some, or every unread one.
POST/v1/projects/{projectId}/feedback/readTry it
Session token
Marks feedback comments as read, which sets their readAt and lowers totals.unread in GET /feedback/pages. Send the IDs you want, or no IDs to mark every unread comment in the project.
Note
Session JWT and org membership required. Any role can mark feedback read — an API key gets 401, a non-member 403. Any plan.
Read state is shared: marking a comment read marks it read for everyone in the workspace.
Path Parameters
NameDescription
projectId:stringpathRequired
The project ID.
Request Body
NameDescription
ids:string[]body
Feedback IDs (recentComments[].id) to mark read, at most 500. Omit it to mark every unread comment in the project — send {}, or no body and no Content-Type header. IDs from another project, feedback without a comment, and comments already read are skipped. No other fields are allowed.
Response — 200 OK
marked is how many comments changed from unread to read. An empty ids array marks nothing and returns 0.
Error Responses
400 Bad Request
ids is not an array of at most 500 UUIDs, or the body has another field:
json
{
"error": {
"code": "validation_error",
"message": "ids must be an array of at most 500 feedback ids",