Skip to content

PublicChatController_feedback

POST
/v1/public/conversations/{id}/messages/{index}/feedback
curl --request POST \
--url https://example.com/v1/public/conversations/example/messages/1/feedback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "rating": "down" }'
id
required
string
index
required
number
Media typeapplication/json
object
rating
required
string
Allowed values: down up
Media typeapplication/json
object
feedback
required
string
Allowed values: down up
index
required

Position of the rated message in the conversation

number

Example

{
"feedback": "down"
}