Skip to main content
Solved

Profile Count in Lists & Segments

  • February 11, 2022
  • 1 reply
  • 233 views

Forum|alt.badge.img+2

Hi Dev Team,

I have a question regarding Klaviyo API. Is it possible to extract the total number (distinct count) of active subscribers in each lists & segments via the API?

Thank you in advance.

 

Best,

Debora

Best answer by alex.hong

Hi there @debora_DL,

Welcome to the Community! Hope to provide some info regarding API and profiles.

Please allow me to clarify, the Get List and Segment Members, is not going to return lists and segments. It is used to get all of the emails, phone numbers, and push tokens for profiles in a given list or segment

Now, although deprecated, the List V1 endpoint should return a list of all of the list and segment ids within your account:
GET https://a.klaviyo.com/api/v1/list
I hope this is what you were looking for.

 

Alex

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

1 reply

alex.hong
Forum|alt.badge.img+58
  • Klaviyo Alum
  • 1552 replies
  • Answer
  • February 11, 2022

Hi there @debora_DL,

Welcome to the Community! Hope to provide some info regarding API and profiles.

Please allow me to clarify, the Get List and Segment Members, is not going to return lists and segments. It is used to get all of the emails, phone numbers, and push tokens for profiles in a given list or segment

Now, although deprecated, the List V1 endpoint should return a list of all of the list and segment ids within your account:
GET https://a.klaviyo.com/api/v1/list
I hope this is what you were looking for.

 

Alex