Get deals created between two dates

Hi there,
I’m trying to get all the deals created between two dates (choose dynamically by the user). I think I can do it via a filter, which I create at the beginnig and I delete at the end of the function.
Do you know if there is a better solution ?

Thanks in advance !

Hi @Antoine_Bigeard

GET /deals does not allow dates and creating a filter is the way to go in this case.

Thanks for your reply !