APIWidget
Widget Chat
PUBLIC endpoint for embedded widget. No authentication required (bot public_id = permission).
POST
/
widget/chatRequest Body
application/jsonOptionalbodyBody
Query Parameters
bot_idRequiredBot Id
Bot public ID
session_idSession Id
Optional session ID
localeLocale
Browser locale hint (e.g. ru-RU)
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.