Update feedback on a response
Updates feedback for a response.
PATCH /conversations/:id/response/:response_id/feedback/:feedback_id
Path Parameters
Section titled “Path Parameters”response_id string
required
The ID of the response to update feedback on.
feedback_id string
required
The ID of the feedback to update.
Body Parameters
Section titled “Body Parameters”rating enum
The feedback rating for the response.
Allowed values: "positive"
or "negative"
.
comment string
A comment for providing additional explanation regarding feedback.
Request
import Inconvo from "@inconvoai/node";
const inconvo = new Inconvo({ apiKey: process.env.INCONVO_API_KEY});
const updatedFeedback = await inconvo.conversations.response.feedback.update( "fb_abc123", { id: "convo_abc123", response_id: "resp_abc123", rating: "negative", comment: "That was not quite right." });
console.log(updatedFeedback);
{ "id": "fb_abc123", "rating": "negative", "comment": "That was not quite right."}