Please note that this SDK relates to LivePersons legacy chat product which receives limited support and will be deprecated in the future.
It is recommended to build future integrations on top of the corresponding messaging SDK instead.
This event fires when the chat API instance has been created and the DOM has loaded. It contains the current state of the API. If you are creating an instance of the chat API on page refresh or navigation, the state published here will be resume.
Response
Properties in response Object
Property | Description | Type | Notes |
---|---|---|---|
API | The API description. | string | |
version | Current version in use. | string | |
state | The current chat state. | string | See Chat States. |
Sample Response
{
"API": "Chat API SDK Loaded",
"version": "1.0.0",
"state": "uninitialised"
}