Parameters
JSON body
Request body
application/jsonroomIdstringRequiredLength: 24–24
kind"support" | "internal"RequiredThe Agent emits a \``propose-ticket` fenced block in its answer when it cannot resolve the operator's request. On confirmation, the client posts this endpoint with { roomId, kind }; the server reads the full chat transcript, composes title/description/priority via askAIJson, and creates either a BizKitHub support ticket or an internal issue in the operator's own default project. Returns the new issueKey and its admin URL.
JSON body
roomIdstringRequiredkind"support" | "internal"Required1 status code documented
success"true"RequiredissueKeystringRequiredurlstringRequiredsuccess"false"Requirederror"member_required"Required{
"success": true,
"issueKey": "example_issueKey",
"url": "example_url"
}POST /bff/chat/create-ticket-from-turn
curl -X POST "https://api.bizkithub.com/bff/chat/create-ticket-from-turn" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"roomId": "example_roomId"
}'All BizKitHub public API endpoints require authentication via API key.