Skip to main content
Solved

Can I use API to get selected fields from a segment as csv?

  • September 21, 2022
  • 1 reply
  • 95 views

Forum|alt.badge.img+2

Hi -

 

Currently, I am downloading certain fields (properties) from a segment as csv. Is there an API that I can use to retreive the same fields and download them as csv file without doing it manually? 

 

Current manual proccess to export:

 

Best answer by Taylor Tarpley

Hi @katnissJW,

 

Thanks for sharing your question with us! 

 

Yes there is a way to do this that’s not manual, however, it does take some setting up. You would need to use the Membership endpoint, explained in our dev portal documentation, and shown below. However, you would need to follow our additional documentation , explaining how to export the profile data to a 3rd party data warehouse to get download the profile information, like properties, that you’re looking for.


GET https://a.klaviyo.com/api/v2/group/{LIST_ID or SEGMENT_ID}/members/all

 

Finally, it seems like someone asked a similar question in the Community as well, I’d check this convo out for additional insight. 

 

Thanks for participating in the Community!

-Taylor 

View original
Did this topic or the replies in the thread help you find an answer to your question?

1 reply

Taylor Tarpley
Community Manager
Forum|alt.badge.img+60
  • Community Manager
  • 2148 replies
  • Answer
  • September 22, 2022

Hi @katnissJW,

 

Thanks for sharing your question with us! 

 

Yes there is a way to do this that’s not manual, however, it does take some setting up. You would need to use the Membership endpoint, explained in our dev portal documentation, and shown below. However, you would need to follow our additional documentation , explaining how to export the profile data to a 3rd party data warehouse to get download the profile information, like properties, that you’re looking for.


GET https://a.klaviyo.com/api/v2/group/{LIST_ID or SEGMENT_ID}/members/all

 

Finally, it seems like someone asked a similar question in the Community as well, I’d check this convo out for additional insight. 

 

Thanks for participating in the Community!

-Taylor