Feedback
Archive Public Comment
Lets a visitor archive their own comment within the edit window. Public and unauthenticated. The visitorId has to match the comment.
Authorization
Authorization AuthorizationBearer <token>
In: header
Path Parameters
idrequiredstring
ID of the post, status, topic, or comment.
projectIdrequiredstring
ID of the project that owns it.
Request Body
application/json
surfacerequiredstring
Which public portal the visitor is on. Votes and comments are tracked separately on each.
Value in: "feedback" | "roadmap"
visitorIdrequiredstring
Random per-project id the portal stores in the visitor's browser.
Format: uuid
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://www.saasco.com/api/v2/feedback/string/comments/string/archive" \ -H "Content-Type: application/json" \ -d '{ "surface": "feedback", "visitorId": "e45934e1-5fd4-4651-b7bc-50c977a3b8c5" }'true{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}