Help on API for events after specific start date

Help on API for events after specific start date

Hi,
I would like to retrieve all the events after a certain date using the API.
To get all the events, I currently get them by looping on the pages. However, I would only retrieve the events from 2 years ago until the latest Event being recorded (it can be after today).
I am using JS with axios:

  1. return axios({

  2. method: "GET",

  3. url: "https://www.zohoapis.com/crm/v2/Events?page=".concat(res),

  4. headers: {

  5. authorization: ""
  6. }
  7. })
where res is basically a loop from 1 to xx. 
How can I add a condition in my url so that the records being fetched are only the ones from 2 years ago until now?
I am quite new in API usage.

Thanks a lot for your help.

Stanislas