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

Set Post Pending Approval

Hides or publishes a visitor submission. pendingApproval true keeps it off the public board.

POST
/projects/{projectId}/feedback/posts/{id}/approval

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the post.

idrequiredstring

ID of the post.

Request Body

application/json

pendingApprovalrequiredboolean

When true, the post stays hidden on the public board until a project member publishes it.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://www.saasco.com/api/v2/projects/string/feedback/posts/string/approval" \  -H "Content-Type: application/json" \  -d '{    "pendingApproval": true  }'
{
  "id": "string",
  "createdAt": "string",
  "updatedAt": "string",
  "projectId": "string",
  "statusId": "string",
  "title": "string",
  "body": "string",
  "slug": "string",
  "voteCount": -9007199254740991,
  "roadmapRank": -9007199254740991,
  "authorName": "string",
  "authorUserId": "string",
  "pendingApproval": true,
  "mergedIntoId": "string",
  "mergedAt": "string",
  "archivedAt": "string",
  "authorImage": "string",
  "commentCount": 9007199254740991,
  "excerpt": "string",
  "status": {
    "archivedAt": "string",
    "color": "string",
    "id": "string",
    "name": "string",
    "position": -9007199254740991,
    "showOnRoadmap": true
  },
  "topics": [
    {
      "archivedAt": "string",
      "color": "string",
      "icon": "string",
      "id": "string",
      "name": "string",
      "position": -9007199254740991
    }
  ]
}
{
  "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": []
}

Update Post Topics

Replaces the topics on a post. Send an empty list to clear them.

Unmerge Post

Restores a post that was merged into another, using the id of the surviving post.