Feedback Automation API
Feedback endpoints collect user reports, expose triage exports, and integrate with external work trackers.
Submission endpoints
Section titled “Submission endpoints”POST /api/feedback-submissionscreate feedback submission (multipart form)GET /api/feedback/agentslist VM agents the user can attach to a report
POST /api/feedback-submissions expects:
payload(JSON string, validated by Zod discriminated schema)- optional
screenshotfile (used by global overlayfeature_request/bug_report; workflow issue reports submit without screenshot upload)
Submission types:
feature_requestbug_reportworkflow_issue_report
Organization scoping:
- Submission ownership uses the effective org ID for the request context.
- Super-admin submissions follow the active org override when it is set; otherwise they use the user-linked org ID.
Admin export endpoint
Section titled “Admin export endpoint”GET /api/admin/feedback/exportexport filtered submissions as CSV
Super-admin only. Supports query filters:
typestatusorganizationvmfromto
Webhook consumers
Section titled “Webhook consumers”POST /api/webhooks/github/feedbackPOST /api/webhooks/clickup/feedback
Behavior:
- Verify signature first.
- Accept only supported action/event types.
- Resolve linked feedback work item by external issue/task reference.
- Rearm outbox status-sync event for async processing.
Security model
Section titled “Security model”- User endpoints require authenticated session.
- Admin export requires
super_admin. - Webhook signature verification uses configured secrets; invalid signatures return
401.
Environment configuration
Section titled “Environment configuration”Feedback automation runtime is controlled by:
FEEDBACK_AUTOMATION_ENABLEDFEEDBACK_AUTOMATION_WORKER_INTERVAL_MSFEEDBACK_AUTOMATION_BASE_BRANCH- GitHub and ClickUp credential/webhook env variables
- OpenAI enrichment model env variables