Hi team,
I've build an app which is already listed on your marketplace by the name of Smartflo for Zendesk. I was trying to do some changes to it but I hit a road block wherein I couldn't get the details of voice comments in a ticket? Kindly guide me how to fetch the details of voice comment using ticket id in zendesk support?
Thanks in advance
Thank you for posting your question! So in order to do this you could use the List Ticket Comments API. This will allow you to search for all comments associated with a given ticket ID. Then you could filter the results to only return comments where the type property value is VoiceComment. The type property in the Ticket Comments API response object could only be one of two values Comment or VoiceComment. So by filtering for only comments where the type property value is VoiceComment, you can ensure to only get back the data for voice comments associated with that ticket.
Hope this helps!
Best,
Erica