I am currently working on the creation of a custom app which has a feature to delete single tickets after a certain time, since ticket was created, and only for close tickets. I want somehow to include the following automation that I have in place into the custom app,
Now I are facing the issue that in the API documentation we only can filter tickets based on creation date, but we don’t know when the ticket was created so we can not setup a date to start checking and comparing. We want to have something similar as the automation. Which API request should we use?