How can I find ticket id from sunshine conversation or conversation id from ticket? | Community
Skip to main content

How can I find ticket id from sunshine conversation or conversation id from ticket?

  • August 17, 2024
  • 2 replies
  • 0 views

Michael61

I am developing an integration with Zendesk for one of our clients who use web_chat.

 

In order to support his requests, we need to update Zendesk from the sunshine conversation, or vice versa. But after looking through the API reference, it is not clear to me on how those two products of Zendesk can be linked. They use different id systems, and they don't have information for each other. 

 

Please help.

2 replies

  • April 9, 2025

The same issue here. And nobody cared to respond to this request from Zendesk support for almost a year!?


  • April 15, 2025

There is no mapping from ticket_id to conversation_id on either side.
I've found the following workaround:
- build webhook to fire on ticket creation, catch ticket_id it at your endpoint;
- query audits endpoint (tickets/{ticket_id}/audits.json) with ticket_id and extract conversation_id from first element.