最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How can I retrive all chats information using Zendesk's Chat API? - Stack Overflow

programmeradmin2浏览0评论

I'm trying to use Zendesk API to read information from all the chats from the company but so far it has been a difficult pat. First thing I don't know if it is possible that with an Administrator user I can read all the chats from every user on the company.

Now, I'm trying to use the API to do it, It has been more difficult that I expected because I don't know if I must create an API Client on the Zendesk Chat page or if I should create it on the Administration Center on the section Zendesk API or on the Chat API.

Either way, the only thing that has (kinda) worked for me is creating and API Client on the Zendesk Chat () page with my current (admin) user. Using the information from this page I manage to create this url to have a token:

;client_id=my_client_id&scope=read%20chat&subdomain=my_subdomain

There I was able to obtain a token when I copied it from the redirected page. Afterwards, I use the token like this:

curl  -H "Authorization: Bearer the_token"

I expected to see information from all the chats from everyone but the response was: {"chats": [], "count": 0}, so after this response from the server I don't know If the API Client I created was the right one and if it is even possible to do what I want.

Hope someone can guide me on these.

Thanks.

发布评论

评论列表(0)

  1. 暂无评论