HTTP Submit API

Submit feedback with POST /api/feedback from agents and server-side code.

HTTP
POST /api/feedback
Content-Type: application/json

{
  "projectId": "proj_...",
  "type": "issue",
  "message": "The checkout button does nothing",
  "userEmail": "ada@example.com",
  "userName": "Ada Lovelace",
  "pageUrl": "https://example.com/checkout"
}
  • Required: projectId, type (issue, idea, or other), and message (max 5000 characters).
  • Optional: userEmail, userName (max 40 characters), pageUrl, and screen (for example 390x844). Include userEmail to email the visitor when you move the report to In progress or Done.
  • A successful submit returns { ok: true, id, notifyToken }. Unknown projectId values return 404.
  • CORS is open (Access-Control-Allow-Origin: *). Rate limits are 30 requests per minute per IP and 60 per project.
  • Screenshots are accepted only as multipart/form-data with a JSON payload field and a screenshot file, not as JSON.