Lumifeed Docs
API Reference

Feedback

Submit and retrieve feedback via the REST API.

Feedback

Submit feedback

POST /v1/feedback
x-api-key: YOUR_API_KEY
Content-Type: application/json

Request body

{
  "message": "The export button doesn't work in Safari",
  "type": "bug",
  "userId": "user_123",
  "userEmail": "ada@example.com",
  "userName": "Ada Lovelace",
  "url": "https://app.example.com/reports",
  "metadata": {
    "browser": "Safari 17",
    "plan": "pro"
  }
}
FieldTypeRequiredDescription
messagestringYesThe feedback text (max 5000 chars)
typestringNobug, feature, question, other
userIdstringNoYour internal user ID
userEmailstringNoUser's email address
userNamestringNoUser's display name
urlstringNoPage URL where feedback was submitted
metadataobjectNoAny additional key-value data

Response

{
  "data": {
    "id": "fb_abc123",
    "message": "The export button doesn't work in Safari",
    "type": "bug",
    "status": "open",
    "createdAt": "2025-03-01T12:00:00Z"
  },
  "error": null,
  "meta": {}
}

List feedback

GET /v1/projects/{projectId}/feedback
Authorization: Bearer YOUR_SERVER_TOKEN

Query parameters

ParamTypeDefaultDescription
pagenumber1Page number
limitnumber20Items per page (max 100)
statusstringFilter by status: open, in_progress, closed
typestringFilter by type
searchstringFull-text search

Response

{
  "data": [
    {
      "id": "fb_abc123",
      "message": "...",
      "type": "bug",
      "status": "open",
      "sentiment": "negative",
      "priority": 85,
      "tags": ["safari", "export"],
      "createdAt": "2025-03-01T12:00:00Z"
    }
  ],
  "error": null,
  "meta": { "page": 1, "limit": 20, "total": 143 }
}

On this page