API endpoint for searching and deleting archived tickets?

Hello everyone,

We have an app that automatically deletes old tickets.

The Problem:
Since Freshdesk now automatically archives tickets after 120 days of inactivity, we’re facing a critical limitation:

  1. Search API doesn’t return archived tickets - Our app uses /api/v2/search/tickets with date range filters (e.g., created_at:<'2024-01-01'), but this only returns active tickets, not archive ones.

  2. No API endpoint for archived tickets - We cannot find any documented API to:

    • Search/filter archived tickets by date range, group, type, or tags
    • Bulk fetch archived tickets for processing
    • Delete archived tickets programmatically
  3. Customer Impact - Customers are reporting our app “isn’t working” because tickets older than 120 days aren’t being deleted (they’re archived and invisible to the Search API).

What We’ve Tried:

  • /api/v2/search/tickets - Only returns non-archived tickets
  • /api/v2/tickets?updated_since=<date> - Also skips archived tickets
  • Freshdesk Admin UI - Manual export is possible, but we need an automated API solution

Questions:

  1. Is there an API endpoint to fetch/search archived tickets?
  2. Can archived tickets be deleted via API?

Any guidance would be greatly appreciated! This is blocking multiple production customers.