Chat9
APIWidget

Widget Chat

PUBLIC endpoint for embedded widget. No authentication required (bot public_id = permission).

POST
/widget/chat
/widget/chat

Request Body

application/jsonOptional

bodyBody

Query Parameters

bot_id
Required
Bot Id

Bot public ID

session_idSession Id

Optional session ID

localeLocale

Browser locale hint (e.g. ru-RU)

curl -X POST "https://api.getchat9.live/widget/chat?bot_id=string&session_id=string&locale=string" \
  -H "Content-Type: application/json" \
  -d '{
    "message": "string",
    "locale": "string"
  }'

Server-sent events stream (text/event-stream). Each frame is type: 'chunk' (incremental text) or type: 'done'; the done frame's payload conforms to WidgetChatTurnResponse.

null