Zendesk Chat - A way to get the chat id without using a Chat Sidebar appRépondu
Currently the only way to get a chat's id is by calling client.get('chat') inside a Chat Sidebar app (https://developer.zendesk.com/api-reference/apps/apps-chat-api/chat_sidebar/#chat-object).
There has to be a way to get the chat id without using the Sidebar App.
The sidebar app (The iframe) is requesting the chat id from the main window, so why is there no way to get it directly from the main window?
Knowing the chat id is a very basic requirement for any app that integrates with Zendesk.
Thank you for your feedback.
Unfortunately, this isn't something that is currently supported and there are no plans in our roadmap to surface Chat Ids outside of the sidebar app.
If you require Chat Ids for retroactively (e.g., reporting use cases), you could pull all Ids using our REST APIs: https://developer.zendesk.com/api-reference/live-chat/chat-api/chats/#list-chats
- Sarah D.
Vous devez vous connecter pour laisser un commentaire.