/bff/chat/create-ticket-from-turn
The 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.
ChatpostBffChatCreate-ticket-from-turn
Parameters
2 body
Body · 2
roomIdstringRequiredLength: 24–24
kindstring | stringRequiredRequest
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"
}'Response
JSON payload
{
"success": true,
"issueKey": "example_issueKey",
"url": "example_url"
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.