Recent searches


No recent searches

Ticket Count



Posted Mar 11, 2024

I ran the Zendesk API to get an overall count of tickets.  I am getting a low number.  Is there a way I can get an overall ticket count? 


0

5

5 comments

image avatar

Jakub

Zendesk Customer Care

Hello Tyler Duncan

I would appreciate it if you could share the API you used for that purpose.

I can see that api/v2/tickets/count does not include archived tickets (tickets in closed state for more than 120 days), this could explain why your result is lower than anticipated. 




0


image avatar

Gab

Zendesk Customer Care

1


I apologize for lack of information regarding the API.  I am referring to the Ticket API 

  • GET /api/v2/tickets/count
  • GET /api/v2/tickets

Would there be a way to get the count of the archive tickets? 

0


image avatar

Gab

Zendesk Customer Care

Hi Tyler, 
 
All ticket API endpoints except Count Tickets, Listing Tickets, Listing Ticket Metrics, Ticket Skips, and Listing Ticket Audits return archived tickets.
 
More information can be found here: About ticket archiving

1


Thank you.  I can now proceed with my current project. 

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post