Documentation

Portal vs API

Feeedbackr offers two ways to collect feedback:

  • Portal: A hosted page that you can redirect your users to. It provides a user-friendly interface for collecting feedback with zero setup required.
  • API: A RESTful API that allows you to integrate feedback collection directly into your application. This gives you complete control over the user experience.

Getting Started

When you register, you'll receive 3 free credits that allow you to start collecting feedback and test the app without entering a credit card.

  1. Create a new application in your dashboard at:
  2. https://feeedbackr.com/dashboard
  3. Select your application from the list
  4. Click on the Settings button to find your appId and API key
  5. Choose how you want to collect feedback:
    • Portal: Use our hosted feedback page (quickest setup)
    • API: Integrate feedback collection directly in your app

Feedback Portal

The feedback portal is accessible at https://feeedbackr.com/send-feedback/[appId] where appId is your application's unique identifier.

Required Query Parameters

  • user: The unique identifier of your customer (customerId)

Optional Query Parameters

  • username: The display name or username of your customer

Example URL

https://feeedbackr.com/send-feedback/clrx123abc?user=customer123&username=john_doe

API

The API gives you complete flexibility to implement your own front-end interface. You can design and build the feedback collection UI that best suits your application's needs.

Endpoint

POST https://feeedbackr.com/api/feedbacks

Headers

Content-Type: application/json
x-api-key: YOUR_API_KEY

Request Body

{ "appId": "string", // Your application ID (CUID format) "content": "string", // The feedback content "customerId": "string" // Unique identifier for your customer }

Example Request

curl -X POST https://feeedbackr.com/api/feedbacks \ -H "Content-Type: application/json" \ -H "x-api-key: your_api_key" \ -d '{ "appId": "clrx123abc", "content": "Great application! Would love to see dark mode.", "customerId": "user123" }'

Error Codes

Error CodeDescription
APP_NOT_FOUNDThe specified application ID does not exist
BAD_REQUESTThe request was malformed or invalid
FEEDBACK_LIMIT_REACHThe user have reached the limit of feedbacks
FEEDBACK_NOT_FOUNDThe specified feedback does not exist
INVALID_OR_MISSING_API_KEYThe API key is invalid or was not provided
MISSING_ATTRIBUTES_IN_PAYLOADRequired fields are missing in the request body
NO_CREDITS_LEFTYour account has no remaining credits
OPENAI_NO_RESPONSEFailed to get a response from OpenAI service
SERVER_ERRORAn internal server error occurred
UNAUTHORIZEDYou are not authorized to perform this action
USER_NOT_FOUNDThe specified user ID does not exist