Build your own form
You can also use Feedback Fish in headless mode, i.e. build your own form and submit the feedback to our API endpoint. Send a POST request to https://api.feedback.fish/feedback that looks like this:
fetch('https://api.feedback.fish/feedback', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
projectId: "...",
text: feedbackText,
category: "", // Either "issue", "idea" or "other",
userId: currentUser.email,
metadata: {},
})
})