Skip to content

Built for the product you’re building

Ship the feature.
Hear what users think.

Add a feedback widget or send a rating to the API. Keep the comment, page, and feature context together so your team can turn a response into a useful next step.

REST API · React component · Standalone script · MCP

collect-feedback.sh · replace the inbox and key
curl --fail-with-body https://api.pollenate.dev/collect \
  -H "Content-Type: application/json" \
  -H "X-Pollenate-Key: $POLLENATE_COLLECT_KEY" \
  -d '{
    "inboxKey": "YOUR_INBOX_KEY",
    "type": "thumbs",
    "score": 1,
    "comment": "The setup guide helped.",
    "pageUrl": "https://example.com/docs/setup",
    "context": { "feature": "onboarding", "version": "v2" }
  }'

A successful submission returns HTTP 201 with an event ID and success flag. This example records a user-provided thumbs-up.

Choose how feedback fits into your app.

A ready-made widget

Use the standalone script for a floating prompt, or the React component for inline feedback. Pick thumbs, stars, emoji, NPS, CSAT, or text.

Explore the widget →

Your interface, our collector

POST a rating from your own component or server. Send the user’s comment and the context your team needs to understand it.

Read the API reference →

A shareable feedback form

Use the visual editor for a multi-question survey, or have a connected assistant build it. Share a link without releasing new app code.

Explore feedback forms →

Your first event is the milestone

Make one complete trip
from your app to the inbox.

  1. 01 / Create a destination. Add an inbox in the brand that owns the product.
  2. 02 / Create a collect-only key. Match the key’s organization and brand to the inbox.
  3. 03 / Send a test response. Use your widget or the request above. Check the HTTP result.
  4. 04 / Inspect it in Pollenate. Confirm the score, comment, page URL, and context before asking real users.

When a request needs attention

400
Check field names and types. Use context for custom metadata, and a numeric score.
401
Check the organization key, its expiry, and the X-Pollenate-Key header.
403
Check the collect scope and whether the key can access this inbox’s brand.
404
Confirm the inbox key from Pollenate; it is not the inbox’s display name.
429
Inspect the limit response and wait before retrying. Do not show a success state.

After the first response

Build the feedback loop
around your workflow.

Read and filter inbox events, search comments by meaning, link a response to an issue, or send webhook events to your own service. Use the documented endpoints and the permissions each action requires.

Let your assistant handle the survey setup.

Pollenate’s MCP server supports OAuth sign-in and tools to draft forms, publish them, and read responses. Personal keys are available for clients that cannot sign in.

OAuth form editing is limited to forms you created. Read the connection guide for scopes, sharing, and credential-specific restrictions.

Connect with MCP →

Start with one question in one part of your app.

Then verify the first response. View plans and limits.

Start collecting feedback →

Frequently Asked Questions

Which key should I use to collect feedback from a browser?
Use an organization API key with only the collect scope, preferably restricted to the relevant brand. The /collect endpoint accepts organization keys, not personal keys or OAuth tokens. Never expose an administrative key in browser code.
Can I use React or Next.js?
Yes. The @pollenate/react package provides a PollenateWidget component, and the standalone script works on pages that allow custom JavaScript. In the Next.js App Router, put the React widget in a Client Component. The implementation guide includes examples and a submission checklist.
What metadata can I send?
The collect API accepts a context object for your own fields, alongside pageUrl and sessionId. Pass the context you need, such as feature name or release version. Custom context is not an automatic guarantee of a dashboard filter for every field.
How do I manage forms from an AI assistant?
Connect to https://api.pollenate.dev/mcp with OAuth sign-in, or use a personal API key if your client cannot sign in. The assistant can create and manage forms within the scopes and permissions of that connection. See the MCP integration page for the workflow and restrictions.
What are the collection limits?
Feedback and search have daily plan allowances, and HTTP endpoints also have request-rate protections. A rejected collect request can return 429; inspect the response before retrying. New accounts begin with introductory access. The pricing page explains current plan limits.