Update Public Comment
Lets a visitor edit their own comment within the edit window. Public and unauthenticated. The visitorId has to match the comment.
Authorization
Authorization In: header
Path Parameters
ID of the comment to update.
ID of the project that owns the comment.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Comment text, up to 5000 characters.
Which public portal the visitor is on. Votes and comments are tracked separately on each.
Random per-project id the portal stores in the visitor's browser.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/feedback/string/comments/string" \ -H "Content-Type: application/json" \ -d '{ "body": "string", "surface": "feedback", "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5" }'{ "authorName": "string", "body": "string", "createdAt": "string", "id": "string", "kind": "comment", "mergedPostId": "string", "postId": "string", "updatedAt": "string", "authorImage": "string", "isAuthor": true, "isTeam": true}Create Public Comment
Adds a visitor comment to a public post. Public and unauthenticated. Comments have to be enabled on the board the visitor is using. Do not call this as a fake visitor.
Archive Public Comment
Lets a visitor archive their own comment within the edit window. Public and unauthenticated. The visitorId has to match the comment.