BizKitHub
DocsAPI ReferenceChat/bff/chat/feedback
postChatAdmin BFF

/bff/chat/feedback

Merges {feedback: "up"|"down"} into cas__chat_message.metadata via jsonb_set — no read/modify/write race across tabs. Tenant-scoped by organisationId, only assistant-role messages accepted.

ChatpostBffChatFeedback

Parameters

JSON body

Request body

application/json
messageIdstringRequired
Length: 2424
feedback"up" | "down" | nullRequired

Set thumb up/down, or null to clear.

One of 3:
Variant 1
"up"
Variant 2
"down"
Variant 3
null

Response schema

1 status code documented

200Success
object | object
One of 2:
Variant 1
state"ok"Required
Variant 2
state"not-found"Required

Response example

application/json
{
  "state": "ok"
}

Request example

POST /bff/chat/feedback

post
curl -X POST "https://api.bizkithub.com/bff/chat/feedback" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "messageId": "example_messageId"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key