livechat
livechat

Get Message History

Get message history for returning visitors.

When show_visitor_history is OFF, only serves messages if 'after' timestamp is provided (proving this is a continuing tab session, not a fresh open).

get/api/livechat/public/{widget_key}/messages

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}/messages
  • Auth: none declared

Path parameters

widget_keystring required

Query parameters

limitinteger
before_idstring nullable
afterstring nullable

Headers

X-Session-Tokenstring nullable

Response

Successful Response

messagesobject[] required
has_moreboolean required

Changes

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