Feedback
List Public Comments
Lists comments visitors can see on a public post. Public and unauthenticated.
Authorization
Authorization AuthorizationBearer <token>
In: header
Path Parameters
postIdrequiredstring
ID of the post whose comments to list.
projectIdrequiredstring
ID of the project that owns the post.
Query Parameters
surfacerequiredstring
Which public portal the visitor is on. Votes and comments are tracked separately on each.
Value in: "feedback" | "roadmap"
visitorIdstring
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
application/json
curl -X GET "https://www.saasco.com/api/v2/feedback/string/posts/string/comments?surface=feedback"[
{
"authorName": "string",
"body": "string",
"createdAt": "string",
"id": "string",
"kind": "comment",
"mergedPostId": "string",
"postId": "string",
"updatedAt": "string",
"authorImage": "string",
"isAuthor": true,
"isTeam": true
}
]{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}{
"code": "NOT_FOUND",
"message": "Not found",
"issues": []
}{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}