Feedback in Kookee has two halves. Collection happens in three places: on your own pages, where anyone votes and sends a private message with no account; in the site widget's Feedback tab, which takes the same message; and on your hosted portal, where anyone votes and signed-in visitors post ideas and comment. Your team triages messages and posts in the dashboard. Display is where the API comes in — everything on the board is readable with your API key, so you can show it anywhere.
The public API does not create posts or comments; those stay on the portal so that your team's moderation applies. For feedback it has two writes, and neither needs a sign-in:
POST /v1/feedback/:id/vote(kookee.feedback.vote()in the SDK) casts or withdraws a visitor's vote on a published post, one per post for each visitor id.POST /v1/widget/feedback(kookee.widget.sendFeedback()in the SDK) sends a private message, not a post. The message waits on the Feedback page under From the widget until a team member adds it to the board, links it to an existing post, or dismisses it.
Listing posts
const response = await kookee.feedback.list({
page: 1,
limit: 20,
sort: 'top',
category: 'feature',
search: 'dark mode',
});
sort—newest,toportrendingcategory—feature,improvement,bugorothersearch— text search across post titles and bodies
Each list item carries voteCount, commentCount, category, the columnId of its board column and author. assignee is always null here: who a post is assigned to, like its custom fields, stays with your team.
Board columns
Posts live in columns your team defines on the board — typically something like Open, Planned, In progress, Shipped. Fetch the column list once, then group posts by columnId:
curl -H "Kookee-API-Key: YOUR_API_KEY" https://api.kookee.dev/v1/feedback/columns
Columns are yours to name and reorder in the dashboard; the API reflects whatever the board currently looks like. This is also what a public roadmap is built from — see Building a public roadmap, or render it in React with Roadmap from @kookee/react/roadmap.
A single post
const post = await kookee.feedback.getById('post-uuid');
post.contentHtml; // rich body
post.voteCount;
Comments for a post are a separate read:
curl -H "Kookee-API-Key: YOUR_API_KEY" https://api.kookee.dev/v1/feedback/POST_ID/comments
Comments carry an isOfficial flag for replies from your team. Render those distinctly — a visible reply from your team is the difference between a board that feels alive and one that looks abandoned.
Top contributors
const contributors = await kookee.feedback.getTopContributors({ limit: 5 });
// [{ id, name, image, totalVotes }, ...]
These are the people whose posts collected the most votes — the handful who consistently tell you the truth about your product. Worth knowing who they are, well beyond rendering a leaderboard.
Votes on your own page
FeedbackVoteButton from @kookee/react/feedback/client (version 1.23 or later) is the ▲ 42 box as a button. A click casts the vote with no account, and a second click withdraws it.
import { FeedbackPostList } from '@kookee/react/feedback';
import { FeedbackVoteButton } from '@kookee/react/feedback/client';
<FeedbackPostList
posts={posts.data}
href="/feedback/{id}"
renderVotes={(post) => <FeedbackVoteButton post={post} config={{ apiKey }} />}
/>;
On the first vote, the button creates a random visitor id and keeps it in the browser's localStorage. Each id has one vote per post. A site with its own accounts passes an opaque id as visitorId, so votes follow a person across devices. Don't pass an email or a public user id: anyone who knows the id can read and remove that visitor's votes.
Without React, kookee.feedback.vote('post-uuid', { visitorId, action: 'upvote' }) casts the vote, action: 'downvote' withdraws it, and kookee.feedback.getVisitorVotes(visitorId) returns the posts that id voted for.
Nothing verifies the id, so someone who clears their browser storage can vote again. From one address, the API takes 60 vote requests a minute and 30 new votes an hour on one post. A project holds up to 100,000 visitor votes. Votes don't count against the monthly API quota.
A message form on your own page
FeedbackForm from the same import path is the form from the widget's Feedback tab, for a page or a dialog of your own: a category, a message and an optional email, with no account.
import { FeedbackForm } from '@kookee/react/feedback/client';
<FeedbackForm config={{ apiKey }} />;
The message waits on the Feedback page under From the widget, like one sent from the widget, and reaches the board only if a team member adds it. visitor fills in the email and names the sender for your team, and onSent reports each message.
Sending people to post
Posting to the board happens on the portal, so link to it from wherever you display the board:
https://your-project-slug.kookee.dev/feedback
Deep-link a specific post with its id so a "discuss this" button lands on the right thread.
For people who will not sign in to the portal, the site widget's Feedback tab takes a message with no account, and KookeeChat.open('feedback') opens it from your own button. That message is private and waits for your team's review before anything reaches the board. See Collect feedback from your site widget.
Reading the votes honestly
A vote needs no account, so one person can add more than one, and a count shows what people on your site want, not what your whole user base needs. Treat it as input to prioritization rather than a substitute for it.
Keeping a board healthy
Respond in public, so people can see that posting is worth the effort. And move rejected ideas to a closed column with a reason rather than letting them sit in Open forever — a board where nothing is ever turned down stops being believable, and the silence reads as neglect.