Getting ALL comments for ALL tickets

3 Comments

  • 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
  • Ruben Cortez

    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
  • 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

Please sign in to leave a comment.

Powered by Zendesk