API Reference

Feedback API

REST API for submitting and managing feedback.

The Feedback API is used by the widget to submit and retrieve feedback. You can also use it directly for custom integrations.

Base URL: https://faster-fixes.com/api/v1

Authentication

All requests require two headers:

HeaderDescription
x-api-keyYour project API key
x-reviewer-tokenA valid reviewer token

Requests are also validated against the project's registered Origin. Make sure your requests include an Origin header matching your project's configured URL.


Submit feedback

POST /feedback
Content-Type: multipart/form-data

Body (multipart form)

FieldTypeRequiredDescription
dataJSON stringYesFeedback data (see below)
screenshotFileNoPNG, JPEG, or WebP screenshot (max 5MB)

data JSON fields

FieldTypeRequiredDescription
commentstringYesFeedback comment
pageUrlstringYesPage URL where feedback was left
selectorstringNoDOM selector of the annotated element
clickXnumberNoClick X coordinate
clickYnumberNoClick Y coordinate
browserNamestringNoBrowser name
browserVersionstringNoBrowser version
osstringNoOperating system
viewportWidthnumberNoViewport width
viewportHeightnumberNoViewport height
metadataobjectNoCustom metadata

Response

{
  "id": "uuid",
  "status": "new",
  "comment": "The button color should be blue",
  "pageUrl": "https://myapp.com/dashboard",
  "selector": "[data-testid=\"save-btn\"]",
  "clickX": 450,
  "clickY": 320,
  "screenshotUrl": "https://...",
  "metadata": {},
  "reviewer": { "id": "uuid", "name": "Sarah" },
  "createdAt": "2025-01-15T10:30:00Z"
}

List feedback

GET /feedback

Returns all feedback for the project. Optionally filter by page URL.

Query parameters

ParameterTypeRequiredDescription
urlstringNoFilter by page URL

Response

{
  "feedback": [
    {
      "id": "uuid",
      "status": "new",
      "comment": "The button color should be blue",
      "pageUrl": "https://myapp.com/dashboard",
      "selector": "[data-testid=\"save-btn\"]",
      "clickX": 450,
      "clickY": 320,
      "screenshotUrl": "https://...",
      "metadata": {},
      "reviewer": { "id": "uuid", "name": "Sarah" },
      "createdAt": "2025-01-15T10:30:00Z"
    }
  ]
}

Update feedback

PUT /feedback/:id
Content-Type: application/json

Body

FieldTypeRequiredDescription
commentstringYesUpdated comment

Response

{
  "id": "uuid",
  "comment": "Updated comment text",
  "updatedAt": "2025-01-15T11:00:00Z"
}

Delete feedback

DELETE /feedback/:id

Permanently deletes the feedback item. Returns 204 No Content.


Rate limits

ActionLimit
Write operations (submit, update, delete)100 requests/hour
Read operations1,000 requests/hour