We are currently in the process of building an integration with Front. For our use case, we found the `List Events` API here, to be suitable. We want to only list archive
events in a certain time window, and for that, we have tried using the `q` parameter, as mentioned in the document, but it doesn't seem to work, the response always contains all the events, irrespective of the query we use.
Attaching a few curls we have tried
curl --request GET --url 'https://api2.frontapp.com/events?q=types%3Aarchive' --header 'Accept: application/json' --header 'Authorization: Bearer TOKEN'
curl --request GET --url 'https://api2.frontapp.com/events?q=after%3A1651470943.000' --header 'Accept: application/json' --header 'Authorization: Bearer TOKEN'
Combining the before
and after
parameters would also be helpful.
Looking forward to your help on this.