Skip to content

Rate one of Flame AI’s answers

POST
/help-chat/messages/{id}/feedback
curl --request POST \
--url https://example.com/help-chat/messages/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/feedback \
--header 'Content-Type: application/json' \
--cookie __Host-bottle.session_token=<__Host-bottle.session_token> \
--data '{ "helpful": true, "reason": "wrong", "comment": null }'

A thumbs up or down on an answer in your own conversation. A thumbs down says why: wrong, not_answered, hard_to_follow, or other with a short description. Rating again replaces the rating.

id
required
string format: uuid
Media typeapplication/json
object
helpful
required
boolean
reason
string | null
Allowed values: wrong not_answered hard_to_follow other
comment
string | null
>= 1 characters <= 500 characters

Rating saved

Sign in required

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}

Session and membership required

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}

An answer is already running

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}

Chat limit reached

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}

Help chat unavailable

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}