Feedback
List requests#
GET /api/sdk/feedback?key&board&sort=top|new&q&distinctId
{ "boards": [{ "id": "feature", "label": "Feature" }], "posts": [{ "id": "…", "title": "Dark mode", "body": "", "board": "feature", "status": "review", "votes": 12, "comments": 3, "voted": false, "createdAt": "…" }] }Only open requests are returned (under review, planned, in progress, shipped), 100 at most. q searches title and body.
Roadmap and changelog#
GET /api/sdk/feedback/roadmap?keyreturns{ columns: { planned, progress, shipped } }.GET /api/sdk/feedback/changelog?keyreturns{ entries: [{ id, title, body, publishedAt }] }.
Create a request#
POST /api/sdk/feedback
curl -X POST "$HOST/api/sdk/feedback" -H "content-type: application/json" \
-d '{"key":"'$KEY'","distinctId":"visitor-1","title":"Dark mode please","board":"feature"}'Title 3 to 120 characters, body up to 2000, board is feature, bug, integration or improvement. Answers 201 with the request. Limit: 10 per hour per visitor.
Vote#
POST /api/sdk/feedback/{id}/vote with { key, distinctId } toggles the vote and returns { voted, votes }.
Comments#
GET /api/sdk/feedback/{id}/comments?keyreturns{ comments: [{ id, body, author, isTeam, postedAt }] }.POST /api/sdk/feedback/{id}/commentswith{ key, distinctId, body }(1 to 1000 characters), 30 per hour per visitor.