Solved

How can retrieve all of my events?

  • 14 May 2021
  • 1 reply
  • 272 views

Badge +2
  • Contributor I
  • 0 replies

I am trying to retrieve all of my events. I understand that the metrics/timeline API only allows me to retrieve a batch of 100 events. How am I able to get the next 100 and eventually retrieve them all? 

icon

Best answer by klaviyojad 14 May 2021, 22:49

View original

1 reply

Userlevel 2
Badge +9

@PLG  if you look at the api docs for the metrics-timeline  you will see there is a  since string param.

You can specify for it a UUID obtained from the next attribute of a prior API call. This essentially achieves pagination to get you the next set of results.

Reply