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?
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.
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.
But this means that we will have to call https://a.klaviyo.com/api/events? sequentially with different page cursors, correct? It will take a long time for it to get all the events if there are lots of events.
Reply
Log in to the Community
Use your Klaviyo credentials
Log in with Klaviyo
Use your Klaviyo credentials
Log in with KlaviyoEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.