Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
You can read more about using the ECE 11.6 APIs on the ECE section of DevNet (look for previous documentation), the link below is for the interaction API.https://pubhub.devnetcloud.com/media/enterprise-chat-and-email/docs/downloads/previous-documenta...
Depending on what ES is applied to your system you may be able to leverage the ECE Interaction REST API to retrieve the chat activity attributes and parse the chat transcript from xml response.