Accessing Chat History for End Users

TLDR edmundriviere inquired about end users accessing their chat history. sojan_official explained that it depends on the website owner's implementation and suggested using `setUser` for persistence.

Photo of edmundriviere
edmundriviere
Mon, 01 May 2023 18:31:26 UTC

Hi community! How can an end user, who had a chat with customer support, access his chat history? Any login for that?

Photo of sojan_official
sojan_official
Wed, 03 May 2023 14:09:36 UTC

Its based on the implementation by the Chatwoot website owner. by default the widget retains conversaation history using cookies. If the website already has an authentication, they can use `setUser` ( with identity validation ) to persist the history https://www.chatwoot.com/docs/product/channels/live-chat/sdk/identity-validation/#:~:text=Chatwoot%20uses%20a%20HMAC%20based,the%20user%20on%20the%20frontend.

Photo of edmundriviere
edmundriviere
Thu, 04 May 2023 07:54:55 UTC

Thx Sojan! We'll fund a developper to do that and will post results here when done.