/Docs
Search docs or ask a question⌘K
DocsAgent
Changelog
API Reference Mark Feedback Read

Mark Feedback Read

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",
"details": { "traceId": "6f1c2a9e-3b7d-4c11-9a0e-2d5f8b4c7e10" }
}
}

A Content-Type: application/json request with an empty or malformed body gets 400 bad_request ("Malformed JSON in request body").

401 Unauthorized

Missing, invalid or expired session JWT, or an API key.

403 Forbidden

You are not a member of the organization that owns the project.

404 Not Found

The project does not exist or has been deleted.

Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl -X POST https://api.syntext.dev/v1/projects/3f2a9c1e-8b4d-4e7a-9c21-5d6e7f8a9b0c/feedback/read \
-H "Authorization: Bearer $SYNTEXT_JWT" \
-H "Content-Type: application/json" \
-d '{ "ids": ["5a2f7c1e-9b3d-4e8a-a6f0-1c2d3e4f5a6b"] }'
Responseapplication/json
200OK
{
"data": { "marked": 1 }
}
Product
Resources
Company
© 2026 SyntextBuilt with Syntext