Skip to main content
Solved

Get profiles from list with specific custom properties?

  • December 30, 2024
  • 4 replies
  • 33 views

Forum|alt.badge.img

We have some profiles with a Custom Property called “Education”.  We want to use the API to select only these profiles. Is that possible?

eg, https://a.klaviyo.com/api/lists/SZsV82/profiles/?page[size]=20&filter=equals(Education,"Post Graduate")
 

Best answer by MANSIR2094

Understood. Unfortunately, Klaviyo’s API doesn’t yet support filtering directly by custom properties in the filter= parameter for profiles. For optimized API usage, you may need to use webhooks or create segments within Klaviyo filtered by "Education" and then access the segment profiles via the API. If you’d like more detailed guidance, feel free to reach out to me on Whatsapp 

 

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

4 replies

MANSIR2094
Problem Solver IV
Forum|alt.badge.img+13
  • Problem Solver IV
  • 184 replies
  • December 30, 2024

Hello ​@kenw222 

Yes, it's possible to filter profiles by a Custom Property like "Education" using the Klaviyo API. However, Klaviyo's API currently doesn’t natively support filtering profiles by specific custom properties directly in the list endpoint.

 

You can retrieve the profiles and then filter them on your end based on the "Education" property. Alternatively, if you need a more tailored solution or further guidance, feel free to reach out to me on WhatsApp at [+2349151237531]

.

 


Forum|alt.badge.img
  • Author
  • Contributor I
  • 1 reply
  • December 30, 2024

Thanks, but I was hoping to do it the filter= way which cuts down on API usage. 


MANSIR2094
Problem Solver IV
Forum|alt.badge.img+13
  • Problem Solver IV
  • 184 replies
  • Answer
  • December 30, 2024

Understood. Unfortunately, Klaviyo’s API doesn’t yet support filtering directly by custom properties in the filter= parameter for profiles. For optimized API usage, you may need to use webhooks or create segments within Klaviyo filtered by "Education" and then access the segment profiles via the API. If you’d like more detailed guidance, feel free to reach out to me on Whatsapp 

 


Christiannoerbjerg
Expert Problem Solver II
Forum|alt.badge.img+12

Hi ​@kenw222 

Thank you for posting in the Community!

Just to be clear. Just can’t just make a segment with subscribers, which is in a particular list and have the property on their profile? I think that would be the fastest way, without leveraging Klaviyo API and webhooks.

Hope that helps or else let me know! :-) 

Christian Nørbjerg Enger
Partner & CPO
Web: Segmento.dk
LinkedIn: @christianfromsegmento
Voldbjergvej 22b, 8240 Risskov