I want to get the timezone of the client who is chatting with us. Since based on his time zone, i want to show some time values, in the messenger. How can i get the timezone of the client while we are called in API (ex: configure, initialize, etc) ?
Answered
How to get the timezone of the client?

Best answer by Roy
Hi @rajabdeen , It's not possible to get timezone via API, workaround here:
You can get contact location details (Country, Region, City) via API, then find a specific time zone on your end.
To get contact location information, you should use Retrieve contact API.
============================
"location": {
"type": "location",
"country": "Ireland",
"region": "Dublin",
"city": "Dublin"
},
============================
I hope this will be helpful, Let me know if there any further questions. 🦄
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Join the Intercom Community 🎉
Already have an account? Login
Login to the community
No account yet? Create an account
Intercom Customers and Employees
Log in with SSOor
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.