Hi,
Im having an issue pulling the whole segment profiles to Python using the API.
url = "https://a.klaviyo.com/api/v2/group/SEGMENT_ID/members/all"
querystring = {"api_key":"PRIVATE_KEY"}
headers = {"Accept": "application/json"}
response = requests.request("GET", url, headers=headers, params=querystring)
r = requests.get(url, params=querystring)
rtext = response.text
r.json()['records']
jsonrecords = r.json()['records']
df = json_normalize(jsonrecords)
This manages to pull the profiles but it only brings 1,000 instead of the 5000 I have in that particular segment.
Is there any API limitation? How can I increase the limits to bring all of the 5000 in one request?
Thanks,