@Tejasri_Kalluri
Seems like this is an API region issue,
you need to validate the token with the API in the Iparams page, there is no way to find the region automatically in Freshchat, so you need to do it manually by checking each region and store that region in Iparams and use that across the app.
Thanks for the clarification. I have used this URL(https://api.freshchat.com/v2/agents) in my code but works fine in both the US and IND region and it didn’t well in the EU region don’t know why it worked in the US region.