Q: Does your chat widget support authenticated user data passing?

We have users who are already logged into our website, and we want to pass their name, email and other session data directly to the chat widget so they don't need to re-identify themselves when starting a chat. We also want this identification data to appear in the admin panel so our agents know who they're talking to. What's the implementation method for this - do you support JWT authentication, a JavaScript API call, or some other method?

wallace7May 17, 2025
Founder Team
Andrew_AnyChat

Andrew_AnyChat

May 27, 2025

A: Hello.
You can call JS functiona after widget is initialized
anychat.updateUserData("Customer name", "Customer email")

Share
Helpful?
Log in to join the conversation
Verified Purchaser badge

Verified purchaser

Edited: May 21, 2025

It's possible to do this through URL parameters - you could append them as variables like ?fn=NAME&email=EMAIL to the URL (via JS) - and those params can be accessed and set as variables in AnyChat

Verified Purchaser badge

Verified purchaser

Posted: May 23, 2025

Princeshay, do you have any examples of how to achieve this result within AnyChat?