Skip to main content

Hello, how can I paginate through the multiple pages in my response. I got that we need to use the “next” field but I’m not sure which parameter is used for it. I’m unable to find documentation related to the same. Thank You.

@gurdeep happy to help you.  Could you please clarify which api call you have tried?


Hi Jad, I was calling the Fulfilled Order metric and it’s more than 1000 entries. I get the “next” field within the response but I’m not sure which parameter it goes with.


Also I’m trying to get the events for this Fulfilled Order metric.


@gurdeep I presume you are referring to https://developers.klaviyo.com/en/reference/metric-timeline are you passing a query param of “since” with the value of the “next” field?


Hi @klaviyojad , I’m not sure what parameter to pass it (“next”) to. Please help me.


@gurdeep for the JSON output of the first call did you notice a “next” field with a value?  You use that for the subsequent call for since.


Okay, Thank you for the help. Appreciate it. @klaviyojad 


Reply