User Reporting Tool

Help us improve by reporting bugs, requesting features, or sharing your feedback. Your input drives innovation and helps us build better experiences.

This determines which Slack channel receives the notification

🚀 AIGORA Slack Notification API

Endpoint

https://feedback.aigora.systems/api/user-report

Production endpoint for AIGORA user reporting API. For local development, use: http://localhost:8787/api/user-report

Request Parameters

Parameter Type Required Description
projectId string Required Project identifier. Must be one of: "diageo", "diageo-flavorprint-applications", "aigora", "app2", "cd"
type string Required Notification type: "bug_report", "feature_request", or "feedback"
email string Required Email address of the person submitting
message string Required Main message content
metadata object Optional Additional data as JSON object (sent as threaded reply)
screenshot string Optional Base64 encoded image data (sent as threaded reply)
screenshotName string Optional Filename for the screenshot

Channel Routing

Messages are automatically routed to the appropriate Slack channel based on Project ID:

diageo or diageo-flavorprint-applications → #diageo-notifications aigora → #general app2 → #app2-alerts cd → #cd-notifs

Example Request

{ "projectId": "diageo", "type": "bug_report", "email": "user@example.com", "message": "Login button not working on mobile", "metadata": { "browser": "Safari 17", "device": "iPhone 15", "severity": "high", "timestamp": "2024-01-15T10:30:00Z" }, "screenshot": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...", "screenshotName": "login-bug.png" }

cURL Example

curl -X POST https://feedback.aigora.systems/api/user-report \ -H "Content-Type: application/json" \ -d '{ "projectId": "aigora", "type": "feedback", "email": "test@example.com", "message": "Great new feature!", "metadata": {"rating": 5} }'

Response Format

// Success Response (200) { "success": true, "message": "Notification sent successfully", "data": { "channel": "C1234567890", "timestamp": "1234567890.123456" } } // Error Response (400/500) { "success": false, "error": "Error description" }

💡 Features

  • ✅ Automatic channel routing based on Project ID
  • ✅ Metadata sent as threaded replies
  • ✅ Screenshot uploads as threaded replies
  • ✅ CORS enabled for cross-origin requests
  • ✅ Comprehensive error handling