최근 검색


최근 검색 없음

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


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물