API to fetch the account opening date in Freshdesk

Hi everyone,

Could anyone let me know if there is an API by which we can get the opening date of a Freshdesk account?

The issue I am trying to solve is that I need to know when the first tickets were created in the Freshdesk portal so that I can set the range for my query search.

Thanks in advance.
Sarfaraz

Hello @mohammed,

I am pretty sure there is no option to retrieve the date an account was created using the API. The best alternative I could think of would be to use the “List All Tickets” endpoint, sort ascending by created_at and set the updated_since to a deliberately early date like 2000-01-01, something like this:
https://.freshdesk.com/api/v2/tickets?order_by=created_at&order_type=asc&updated_since=2000-01-01T00:00:00Z&per_page=1
This should give you the oldest (non-deleted) ticket in the account.