Feedback Farm Docs
  • Welcome
  • Widget
    • For React
    • For HTML
    • For Wordpress
    • Build your own
  • Integration
    • Zapier
    • Logsnag
    • Webhooks
  • Web App
    • Custom domain for public board
  • Reference
    • API Reference
      • Theme
      • Types
      • Localization
Powered by GitBook
On this page
Edit on GitHub
  1. Widget

Build your own

PreviousFor WordpressNextZapier

Last updated 2 years ago

If the default widget doesn't fit your needs, you can build your own widget with the feedback.farm API.

Good to know: You first need to create an account on .

Configuration

Build your widget in the way you prefer. The only requirement is you need to be able to make a POST request.

  • The http method is POST

  • Endpoint URL: https://api.feedback.farm/api/feedbacks/add

  • Content-Type: application/json

  • The body is a stringified JSON with the following attributes:

    • projectId

    • feedback

    • identifier

    • type

    • pageName

Here's an example of a request with the required attributes in Javascript.

fetch("https://api.feedback.farm/api/feedbacks/add", {
  method: "POST",
  headers: {
    Accept: "application/json",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ projectId, feedback, identifier, type, pageName }),
});
feedback.farm