最近搜索


没有最近搜索

Getting ALL comments for ALL tickets



已于 2021年2月11日 发布

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


0

3

3 条评论

image avatar

Greg Katechis

Zendesk Developer Advocacy

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.

0


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

0


image avatar

Eric Nelson

Zendesk Developer Advocacy

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!

0


请先登录再写评论。

找不到所需的内容?

新建帖子