Submit feedback
POST
/api/v1/feedback
const url = 'https://api.ultimateteam.ai/api/v1/feedback';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"browser_info":{},"description":"example","feedback_type":"bug_report","page_context":"example","screenshot_data":"example","title":"example"}'};
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.ultimateteam.ai/api/v1/feedback \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "browser_info": {}, "description": "example", "feedback_type": "bug_report", "page_context": "example", "screenshot_data": "example", "title": "example" }'Submit a bug report, feature request, or general feedback.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
SubmitFeedbackRequest
Request body for submitting feedback.
Attributes: feedback_type: Category of feedback. title: Short summary (max 200 chars). description: Full feedback text (non-empty). page_context: Page/route where feedback was submitted. screenshot_data: Optional base64 screenshot (max ~200KB). browser_info: Optional browser/device metadata.
object
description
required
Description
Full feedback text
string
feedback_type
required
Feedback Type
Category of feedback
string
page_context
required
Page Context
Page/route context
string
title
required
Title
Short summary
string
Responses
Section titled “ Responses ”Successful Response
Media typeapplication/json
FeedbackResponse
Response body for a feedback record.
Attributes: id: Feedback record UUID. status: Current status (new, reviewed, resolved, etc). created_at: When the feedback was submitted.
object
created_at
required
Created At
string
id
required
Id
string
status
required
Status
string
Examplegenerated
{ "created_at": "example", "id": "example", "status": "example"}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}