Hello.
When I query the /api/v2/tickets/count end-point, it reports 48834 tickets.
When I add up all the tickets I get when I iterate over all the pages of /api/v2/incremental/tickets/cursor.json, it adds up to 212544.
What causes this difference? I already checked if ticket ids don't appear twice, or the "status" is "deleted", but this is not the case.
Any insight is much appreciated.
The Count Tickets endpoint does not include archived tickets. However, the Incremental Ticket Export does include archived tickets. This might account for the difference you're seeing.