SiteAssist

Send Message Feedback

Send feedback to chat message.

POST
/customers/{appUserId}/chats/{chatId}/feedback
x-siteassist-key<token>

In: header

Path Parameters

appUserIdstring

App User ID

Length1 <= length
chatIdstring

Chat ID

Formatuuid
messageIdstring
Formatuuid
feedbackstring | null
Value in"like" | "dislike"

Response Body

curl -X POST "https://loading/customers/string/chats/497f6eca-6276-4993-bfeb-53cbbbba6f08/feedback" \  -H "Content-Type: application/json" \  -d '{    "messageId": "8540d774-4863-4d2b-b788-4ecb19412e85",    "feedback": "like"  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "createdAt": "string",
  "parts": "string",
  "chatId": "f255124e-3419-4f6e-b7ee-17a6577db94d",
  "role": "assistant",
  "humanAgentId": "af3a45f2-8fbc-4405-9fbe-2263c97224e6",
  "feedback": "like",
  "feedbackAt": "string",
  "status": "streaming",
  "error": "string",
  "metadata": "string",
  "pageUrl": "string"
}
Empty
Empty
Empty
Empty
Empty