Recent searches


No recent searches

Zendesk Chat - A way to get the chat id without using a Chat Sidebar app

Answered


Posted Jun 07, 2022

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.


1

3

3 comments

image avatar

Sarah Darmawan

Zendesk Product Manager

Hello Ron,

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.

0


hey Sarah .

I have enabled Live chat but the chat ticket captures only visitor id, how to make the chat to auto populate the email id when a customer opens a chat. As of now we manually get the customer email and update in the requester id. But we don't want to do this, can this be done automatically is there any way ? Your help is much appreciated 

0


image avatar

Sarah Darmawan

Zendesk Product Manager

Hi Bala chandar

The behaviour you're requesting is natively supported in Messaging whereby the Answerbot will request for customer details before the conversation starts, and the contact details requested will be auto-populated in the ticket form. The end user's email address can also be updated as well directly on the ticket field.

Hope this helps!

- Sarah D.

1


Please sign in to leave a comment.

Didn't find what you're looking for?

New post