Recent searches


No recent searches

Zendesk Livechat returns no chats even if agent is engaging in one



Posted May 09, 2024

We have an app for zendesk which has an interface in ticket sidebar. We’re trying to integrate it with live chat API, so that it can handle messages from there.
I’m able to generate client id and secret and using them get oauth code through gui.

After that I’m trying to list all the chats via zopim.com/api/v2/chats, but get empty results even when my user is assigned a ticket and participating in live conversation (via conversations simulation) through ticket interface. Ticket via.channel is set to native_messaging.
Are tickets with channel ‘chat’ different from channel ‘native_messaging’?
If not what am I doing wrong and how can I get a list of all chats? Else how can I get/modify chats with ‘native_messaging’ channel? Is there a way to get messaging from inside core apps?


0

2

2 comments

image avatar

Greg Katechis

Zendesk Developer Advocacy

Hi Alisa! The reason that you're having this issue is likely because your account is using messaging instead of the older Zopim APIs. For this you will need to use ticket.conversation and you should be all set!

1


Hi Greg! Thanks, this works!

We tested it with my colleagues prior and somehow thought that ticket.conversation only returns conversation if chat’s already over, but looks like it’s not the case. 

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post