Getting ALL comments for ALL tickets
Hey everyone,
I was looking at the API docs and saw that there is an endpoint where one API call gives you 1000 tickets so that you can more easily export ALL the tickets in your system.
Now I not only need all the tickets but also ALL the comments for each ticket. Is there an endpoint to make a bulk request for those too? I was only able to find the endpoint where you have to make ONE call PER ticket which seems really inefficient considering the number of tickets we are working with.
Hope someone can help with this.
Thanks
Henny
-
Hi Henrieke! If you're looking to pull all tickets and all comments for those tickets, you will want to use the Incremental Ticket Event Export API. You will need to use the comment_events sideload as well to accomplish this.
-
A question on this topic, for Greg Katechis or others.
Is the format of the curl command
.../api/v2/incremental/tickets/cursor.json?start_time=1636997653&include=comment_events
The comments are not exported but the parent ticket data is.
Thanks
-
Hey Ruben,
You'll need to hit the ticket_events endpoint..../api/v2/incremental/ticket_events.json?start_time=
1636997653&include=comment_events
Let us know if you have any issues!
Please sign in to leave a comment.
3 Comments