Chat bot / Start

Starts a chat-bot session with the visitor's first message.

Route: /api/{tenant:minlength(2)}/v{version:apiVersion}/chat_bot/start

Method: POST

Authorisation: No authentication needed

Request Arguments
Name Type Source
inputDTO_chat_bot_start_inputBody

  Request body example

Response object

Response status: 200 (OK)

Response type: DTO_chat_bot_response

Wrapper: DTO_response_wrap

Other response statuses: 400 (BadRequest)

  Response body example

DTO_chat_bot_start_input
NameTypeReadOnlyDescription
form_keyStringForm key
messageStringMessage
sys_submitted_fromStringHost page url the form is embedded on (same source as the form's sys_submitted_from)
DTO_chat_bot_response
NameTypeReadOnlyDescription
foundBooleanTrue when the bot found knowledge and produced a reply. False = show the classic form.
replyStringReadOnlyReply
ticket_idInt32The chat session ticket (local id). Set once the first bot reply exists.
session_tokenStringSecret session token. Required on follow-up messages, rating and form promotion.