Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference

REST API

Quick start
getGet FeedbackputUpdate FeedbackgetList PostspostCreate PostgetGet PostputUpdate PostdelDelete PostputUpdate Post StatusputUpdate Post TopicspostSet Post Pending ApprovalpostUnmerge PostgetList StatusespostCreate StatusputUpdate StatusdelDelete StatusgetList TopicspostCreate TopicputUpdate TopicdelDelete TopicgetList CommentsputUpdate CommentpostArchive CommentgetGet Public FeedbackgetList Public PostspostCreate Public PostgetGet Public PostgetList Public StatusesgetList Public TopicsgetList Public CommentspostCreate Public CommentputUpdate Public CommentpostArchive Public CommentpostSet Public VotepostSet Public FollowgetList Public Engagements
Feedback

Update Public Comment

Lets a visitor edit their own comment within the edit window. Public and unauthenticated. The visitorId has to match the comment.

PUT
/feedback/{projectId}/comments/{id}

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

idrequiredstring

ID of the comment to update.

projectIdrequiredstring

ID of the project that owns the comment.

Request Body

application/json

bodyrequiredstring

Comment text, up to 5000 characters.

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

application/json

curl -X PUT "https://www.saasco.com/api/v2/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
}
{
  "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": []
}

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.

Archive Public Comment

Lets a visitor archive their own comment within the edit window. Public and unauthenticated. The visitorId has to match the comment.