Skip to main content

Hi all! Hope you are doing great :)

Context: I am trying to integrate members from  Klaviyo to our ERP (Dynamics NAV). To achieve this, I need to export Klaviyo members on (at-most) daily basis.

 

Issue: When I export a segment of my members (Python), it ONLY exports ID and email address. If I export the segment via the UI, it lets me choose what information I need. How can i get all information of members when i export the segement, or selectively choose it?

 

url = "https://a.klaviyo.com/api/v2/group/SEGEMENT_ID_HEREmembers/all?api_key=API_KEY_HERE"
headers = {"accept": "application/json"}
response = requests.get(url, headers=headers)
print(response.text)
 

Many thanks,

Udit

Solved- You need to use the newer version of API for this, can be found at - Get Segment Profiles (klaviyo.com)


Thanks for posting the solution, @HSW! In the future anything API related should go to our Developer Group. They’re the best equipped to advise on all things technical.  


Reply