Recent searches


No recent searches

CHAT API query for POST https://www.zopim.com/api/v2/chats



Posted Mar 02, 2022

Hi all,

I would like to ask that I am using POST https://www.zopim.com/api/v2/chats for creating chats and every created chats are visible in visitors tab of chat dashboard. So my Question is that, Is there any way to get information about the agents with whom the visitors are chatting because there is information about only the visitors like their id , name, message etc??

NOTE: I am using Zendesk trial version of Suite Professional Plan.

Thanks.

 


1

8

8 comments

image avatar

Greg Katechis

Zendesk Developer Advocacy

Hi again Deepak! Could you let me know what type of information you're looking for from your agents? There are many different ways to get agent information from chat, so the more detail that you can provide about what it is you're specifically looking for, the better I'll be able to help out!

0


Hi Greg!

I am looking for  agentId, agentName and agentEmailId of agents. Is there any API available for fetching these deatails?

Thanks

Deepak,

0


image avatar

Greg Katechis

Zendesk Developer Advocacy

Yes, if these are complete chats and not just offline messages, you can gather the agent's ID and name. Email is not an attribute that we can pull from chat history, but you can use the agent's ID and then find the email in the Agent's API.

0


Hi Greg!

Can u please explain what exactly is complete chat and offline messages??  And why the chats created using API's are offline messages? 

I am working on zendesk  and only I am able to create chats using Chat API. So could you please guide me , how to create chats rather than creating with chat API. 

Kindly help me out..

Regards

Deepak

0


image avatar

Greg Katechis

Zendesk Developer Advocacy

I think it would be best if we took a step back here to understand exactly what you're trying to accomplish. I would first make sure that you're up to speed on what Zendesk Chat offers and what the high level concepts are by reading through this. From that documentation, you'll see all of the high level concepts regarding offline messages and other basic things that will get you started with Zendesk Chat. 
 
Regarding the creation of Chats via the API, could you explain to me why you are only able to create chats through the API? If I understand this more clearly, it may help me understand what you're looking to accomplish.

0


Greg Katechis I am having a similar issue where I am trying to create a proactive chat for a customer via the API and I am unable to. Is there a reason this functionality is being blocked?

0


image avatar

Christopher Kennedy

Zendesk Developer Advocacy

Hi Christopher,
 
The Chat REST API only supports creating offline messages.  Part of this is due to how chat functions. To start a live chat, the chat service needs to establish a websocket connection with the chat visitor to facilitate the conversation.  So the presence of a chat widget is needed to initiate a chat (even a proactive one).

0


Christopher Kennedy Thanks for the feedback. We have since pivoted to creating an internal brand to use their widget in these situations

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post