Feedback
Set Post Pending Approval
Hides or publishes a visitor submission. pendingApproval true keeps it off the public board.
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
TypeScript Definitions
Use the request body type in TypeScript.
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://example.com/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": 0, "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 } ]}