livechat
livechat

Init Widget Session

Initialize widget session.

Called when widget loads. Creates or retrieves visitor entity and session.

Returns session_token for subsequent API calls.

post/api/livechat/public/{widget_key}/init

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/livechat/public/{widget_key}/init
  • Auth: none declared

Path parameters

widget_keystring required

Request body

visitor_idstring nullable
fingerprintstring nullable
page_urlstring nullable
page_titlestring nullable
referrerstring nullable
user_agentstring nullable
visitor_tokenstring nullable

Response

Successful Response

session_tokenstring required
visitor_idstring required
thread_idstring nullable
require_identificationboolean required
show_historyboolean required
widget_configobject required
visitorobject nullable
identifiedboolean

Changes

No recorded changes to this operation across all 5 revisions of this API.