Currently I'm able to use the API to gather open incidents. I would like to be able to do the same thing for closed incidents so that I can view a history of incidents, and be able to tell how long they take to be closed.
Great question! To achieve this, I would first create a custom report that reported on closed incidents (if you're polling the API periodically I would also consider adding a time range). See attachment:
Once you've created the report - take note of the ID in the URL and use that in the API call. For example, the curl command you could then use would be: