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

2 body

2 total
Body · 2
messageIdstringRequired
Length: 2424
feedbackstring | string | nullRequired

Set thumb up/down, or null to clear.

Request

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"
}'

Response

JSON payload

{
  "state": "ok"
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key