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, orother), andmessage(max 5000 characters). - Optional:
userEmail,userName(max 40 characters),pageUrl, andscreen(for example390x844). IncludeuserEmailto email the visitor when you move the report to In progress or Done. - A successful submit returns
{ ok: true, id, notifyToken }. UnknownprojectIdvalues 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-datawith a JSONpayloadfield and ascreenshotfile, not as JSON.