Skip to main content
This topic has been closed for replies.
Best answer by Brian Turcotte

Hi @shalukumari,

 

The max records per call is indeed 100, so you would have to paginate in order to retrieve all records - in other words, there’s no way to receive all records in one call without automating the pagination:

 

Best,

Brian

5 replies

Brian Turcotte
Klaviyo Alum
February 24, 2023

Hi @shalukumari!

 

Have you given any thought on upgrading to our new V3 APIs? The Get Lists endpoint has more robust filtering that may suit your use case better:

Per the documentation, you could use this endpoint in combination with the “created” or “updated” : “greater-than” operators to target a time range. Since (per the documentation) the v2 Get Lists endpoint do not offer these filters and will eventually be depreciated, this would be my recommended course of action.

 

I hope this helps to clarify!

- Brian

 

 

Contributor I
February 24, 2023

Hi @Brian Turcotte ,

https://a.klaviyo.com/api/lists/{list_id}/profiles/?page[size]=100

https://a.klaviyo.com/api/lists/{list_Id}/profiles?page[size]=100&page[cursor]=bmV4dDo6MDFHU1lOUkhLNERBMzlORkpZVkRYTkY4WUY

When I’m using to get all profiles in specific list than getting default =20 and through pagination = 100 .
Next iteration I’m getting next url for pagination method 

any other way to get all the records at single api request.
Thanks

Brian Turcotte
Klaviyo Alum
March 10, 2023

Hi @shalukumari,

 

I don’t believe it’s possible, but let me reach out to Engineering to see if there’s any way to surpass that limit and retrieve all records within one call.

 

I’ll update the thread shortly. 

 

Thanks,

- Brian

Contributor I
March 10, 2023

Thanks  for reply ,
I’m waiting for your update because we need to fetch 3 lakh data in specific list that’s why we need retrieve all records within certain limit .
Please help out me this issue.

 

Brian Turcotte
Klaviyo Alum
March 10, 2023

Hi @shalukumari,

 

The max records per call is indeed 100, so you would have to paginate in order to retrieve all records - in other words, there’s no way to receive all records in one call without automating the pagination:

 

Best,

Brian