Skip to main content
Contributor I
April 19, 2022
Solved

Total list of active profiles via API

  • April 19, 2022
  • 2 replies
  • 445 views

Is there a way that we can get the total number of active profiles available in a clients Klaviyo database via an API call?

    This topic has been closed for replies.
    Best answer by alex.hong

    Hi there @jonoroy,

    Welcome to the Community!

    So there's not an API call to pull from the Profiles tab directly for the count. If you create a segment with definition: "Is not suppressed", you will get a segment of all your active profiles. Then you can use our "Get List & Segment Members" API to get all emails in the "active profiles" segment you create and tally up in excel or with some coding to count it up.

    ย 

    Hope that helped,
    Alex

    2 replies

    alex.hong
    alex.hongAnswer
    Klaviyo Alum
    April 20, 2022

    Hi there @jonoroy,

    Welcome to the Community!

    So there's not an API call to pull from the Profiles tab directly for the count. If you create a segment with definition: "Is not suppressed", you will get a segment of all your active profiles. Then you can use our "Get List & Segment Members" API to get all emails in the "active profiles" segment you create and tally up in excel or with some coding to count it up.

    ย 

    Hope that helped,
    Alex

    jonoroyAuthor
    Contributor I
    April 22, 2022

    Thanks for the prompt reply Alex, thats super useful.