最近搜索


没有最近搜索

Zendesk Chat API does not return anything



已于 2023年9月17日 发布

Our app is integrating with Zendesk Chat API. We have the OAuth flow working, and are able to make authorized requests.

However, when calling the API - for example:
https://www.zopim.com/api/v2/chats

We are receiving the following response:

{
  "chats": [],
  "count": 0
}

This is weird because in our Zendesk Chat environment we have open and closed chats (using the Zendesk Chat widget).

How does this work? Am I missing something here?


0

5

5 条评论

image avatar

Erica Girges

Zendesk Developer Advocacy

Hi Nathan! 
 
That definitely does seem strange. Out of curiosity, which OAuth flow are you using?

0


We are using the Authorization code grant flow as described here:

https://developer.zendesk.com/documentation/live-chat/getting-started/auth/#authorization-code-grant-flow

Managed to implement this without any issues. The resulting bearer token works fine, and all API calls I make are successful.

However the chats response is always empty. For context, I have a Zendesk developer account and I tried creating a "chat" by using the Messaging Chat Widget which I found here:
https://subdomain.zendesk.com/admin/channels/messaging_and_social/channels_list
Is that the correct approach? Should chats made in that widget be showing up in the API response? I'd assume so.

I'm also quite confused about what the difference is between Zendesk Chat and Zendesk Conversations.

 

0


Anyone?

0


Bump... Erica Girges

0


The same for me. It returns only value created via POST. Each chat generates ticket, but does not generate chat entity. Am I missing something?

0


请先登录再写评论。

找不到所需的内容?

新建帖子