BizKitHub
DocsAPI ReferenceChat/bff/chat/create-ticket-from-turn
postChatAdmin BFF

/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

2 total
Body · 2
roomIdstringRequired
Length: 2424
kindstring | stringRequired

Request

POST /bff/chat/create-ticket-from-turn

post
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.

Get API Key