Like or dislike the AI's answer.
| Request method | Request address |
| POST | https://api.helplook.net/api/chats/reaction |
| Content-Type | application/json |
Parameter description:
body type: application/json
| Parameter name | type | Required | illustrate |
| record_id | string | yes | Question and answer record ID |
| reaction | string | yes | Actions: like (like), dislike (dislike), cancel (cancel) |
body: application/json
Example: Update article
{
"record_id": "171441",
"action":"like"
}CURL example:
curl --location --request POST 'https://api.helplook.net/api/chats/reaction' \
--header 'x-api-key: API KEY' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--header 'Connection: keep-alive' \
--data-raw '{
"record_id": "171441",
"action":"like"
}'response:
{
"data": {},
"msg": "Success",
"code": 200
}