Submit feedback
const url = 'https://api.neuramancer.dev/v1/feedback';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"url":"example","name":"example","tenantName":"example","email":"example","message":"example","smartlookSessionId":"example","source":"frontend-support-request","sourceAttributes":{}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.neuramancer.dev/v1/feedback \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "url": "example", "name": "example", "tenantName": "example", "email": "example", "message": "example", "smartlookSessionId": "example", "source": "frontend-support-request", "sourceAttributes": {} }'Submits user feedback (support requests, analysis feedback, or post-logout feedback). Sends a notification email to the appropriate team. Requires authentication.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Request payload for submitting feedback.
object
The URL where the feedback was submitted from
Name of the user submitting feedback
Tenant name of the user
Email address of the user
The feedback message
Optional Smartlook session ID for browser session replay
Source of the feedback. Defaults to ‘frontend-support-request’.
Optional source-specific attributes (e.g. analysisId, type for analysis feedback)
object
Responses
Section titled “Responses”Feedback submitted successfully
object
Example
{ "success": true}Invalid content type or unknown feedback source
Standardized error response following the APIResponse
object
Example
{ "success": false, "message": "Bad request"}Unauthorized - missing or invalid token
Standardized error response following the APIResponse
object
Example
{ "success": false, "message": "Bad request"}Internal server error
Standardized error response following the APIResponse
object
Example
{ "success": false, "message": "Bad request"}