Skip to main content

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) ?

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. 🦄


Thanks i will try that.


Reply