Developer Documentation
Integrate BugBear's Hosted Feedback Form into any app with a single link – no SDK, no setup.
Contents
1. Overview
BugBear provides a hosted feedback form that you can link to directly from your app. No SDK installation, no UI to build — just point your users to a URL with your API key and they can submit feedback in seconds.
This is ideal if you want to:
- Add a "Send Feedback" button to your app without building custom UI
- Collect structured feedback per category and app version
- Redirect users back to your app after submission
apiKey parameter.
2. Quickstart
Add a button to your app that opens the BugBear feedback form:
HTML Button
Flutter / Dart
.NET / C#
3. URL Parameters
The feedback form URL is https://bug-bear.com/FeedbackForm and accepts the following query parameters:
| Parameter | Required | Description |
|---|---|---|
| apiKey | Required | Your product's API key from the BugBear dashboard (e.g. bb_xxxx). |
| categories | Optional |
Comma-separated list of categoryId:Name pairs.
If omitted, the form shows a free-text field only.
See Passing Categories below.
|
| version | Optional |
Display version string, e.g. 1.2.3. Shown as a badge on the form
and included in the feedback metadata. Defaults to 1.0 if omitted.
|
| productVersionId | Optional | GUID of a specific product version from the BugBear dashboard. Associates the feedback with that version. If omitted, the product's default version is used. |
| returnUrl | Optional | URL to redirect the user to after successful submission. Should be URL-encoded. If omitted, a confirmation message is shown instead. |
4. Passing Categories
The categories parameter controls which category options the user sees.
The format is a comma-separated list of categoryId:Display Name pairs.
You find your category GUIDs in the BugBear dashboard under your product settings.
Single category (preselected, no dropdown)
When only one category is provided, it is shown as a fixed badge — the user cannot change it. This is useful for a dedicated "Report a Bug" button.
Multiple categories (dropdown)
When multiple categories are provided, the user can choose from a dropdown.
: and , characters when building the URL programmatically
(they become %3A and %2C). Most HTTP libraries handle this automatically via query string builders.
5. Examples
Minimal – just an API key
Bug Report button with version
Full example with productVersionId and returnUrl
Kotlin / Android
Swift / iOS
6. Page Behavior
- No login required — the page is fully public.
- Single category → displayed as a badge, not editable by the user.
- Multiple categories → shown as a dropdown for the user to choose.
- Version → shown as a small badge on the form; included in feedback metadata.
- After submission with
returnUrl→ user is redirected after 2 seconds. - After submission without
returnUrl→ a success message is shown. - Invalid
apiKey→ the API returns an error which is shown on the form. - Theme → respects the user's system dark/light mode preference automatically.
7. Direct API (Advanced)
If you want to build your own feedback UI, you can submit feedback directly to the BugBear REST API without using the hosted form.
Endpoint
Request Body
Response
productApiKey in the request body identifies your product.