Marco in Ticket Event API
Answered
Posted Aug 17, 2022
Hi,
Could you please advise? Is it possible to get Macro value on Events of ticket? Which API can provide that this ticket has been used Marco as show as in the screenshot below?
I try to find it in the Ticket Event Incremental API (/api/v2/incremental/ticket_events) but cannot find Macro stamped there. I found only trigger and automation in rel column.
0
1
1 comment
Sebastiaan (Sparkly ⭐)
Hey Boonyasak Siripakornchai,
Seems you are right, I can't find it the the incremental ticket events. Seems you'll have to retrieve the ticket's audits (no incremental or bulk endpoints that I could find in the documentation).
https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_audits/#list-audits-for-a-ticket
Then you can look in the events of the audits, for an event of the type 'AgentMacroReference'. That will expose the macro ID and title.
0
Sign in to leave a comment.