curl --request PUT \
--url https://api.egp.scale.com/v4/threads/{thread_id}/messages/{application_interaction_id}/feedback \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"chat_thread_id": "<string>",
"application_interaction_id": "<string>",
"sentiment": "positive",
"description": "<string>"
}'
{
"id": "<string>",
"chat_thread_id": "<string>",
"application_interaction_id": "<string>",
"sentiment": "positive",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
curl --request PUT \
--url https://api.egp.scale.com/v4/threads/{thread_id}/messages/{application_interaction_id}/feedback \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"chat_thread_id": "<string>",
"application_interaction_id": "<string>",
"sentiment": "positive",
"description": "<string>"
}'
{
"id": "<string>",
"chat_thread_id": "<string>",
"application_interaction_id": "<string>",
"sentiment": "positive",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
Successful Response
The response is of type object
.