Update feedback
PATCH
/api/v1/feedback/{feedback_id}
const url = 'https://api.ultimateteam.ai/api/v1/feedback/example';const options = { method: 'PATCH', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"admin_response":"example","status":"example","tags":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.ultimateteam.ai/api/v1/feedback/example \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "admin_response": "example", "status": "example", "tags": [ "example" ] }'Update feedback status, admin response, or tags. Admin only.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”feedback_id
required
Feedback Id
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
UpdateFeedbackRequest
Request body for updating feedback (admin only).
Attributes: status: New status (optional). admin_response: Admin reply (optional). tags: New tags list (optional).
object
Examplegenerated
{ "admin_response": "example", "status": "example", "tags": [ "example" ]}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" } ]}