Evident that there is a way to get profiles who are part of the list through REST APIs and in turn, you can get their personal info using profiles ids found in list members.
Possibility is there that a profile can exist without being linked to a list.
Was curious to check if there is a way to get all profiles or the profiles that are not part of the list through REST APIs?
Please let me know if any solution or work around is available for it.
Best answer by cassy.lee
Hi @vaibhavrmore1, thanks so much for joining the conversation on our Klaviyo Community forum!
I see that you also previously asked this question to our Support team, but I’d love to share the response in case other community members have question or additional thoughts on this.
Instead of using a REST API to pull in profiles not associated in a List, you could alternatively use the Profiles API to pull profile information based on their person ID. This particular API is based on REST, and allows you to retrieve all the data attributes for a person based on the Klaviyo Person ID.
Using the REST API’s was able to get the profiles and their timelines for the first time. After this, it’s not required to fetch all profiles hence wanted to get only updated profiles and updated timelines iof same. (Incremental updates).
Is there way to achieve or Klaviyo API’s do not support incremental updates via API’s?
Hi @vaibhavrmore1, thanks so much for joining the conversation on our Klaviyo Community forum!
I see that you also previously asked this question to our Support team, but I’d love to share the response in case other community members have question or additional thoughts on this.
Instead of using a REST API to pull in profiles not associated in a List, you could alternatively use the Profiles API to pull profile information based on their person ID. This particular API is based on REST, and allows you to retrieve all the data attributes for a person based on the Klaviyo Person ID.
Evident that there is a way to get profiles who are part of the list through REST APIs and in turn, you can get their personal info using profiles ids found in list members.
The possibility is there that a profile can exist without being linked to a list.
Was curious to check if there is a way to get all profiles or the profiles that are not part of the list through REST APIs?
Please let me know if any solution or workaround is available for it.
@cassy.lee , Looks like you misunderstood the question. As dealing directly with REST APIs, would not not be knowing which profile is not associated with any list as well as its id. How would call API to get info without knowing the id?
Evident that there is a way to get profiles who are part of the list through REST APIs and in turn, you can get their personal info using profiles ids found in list members.
Possibility is there that a profile can exist without being linked to a list.
Was curious to check if there is a way to get all profiles or the profiles that are not part of the list through REST APIs?
Please let me know if any solution or work around is available for it.
Question: Using the REST API was able to get the profiles and their timelines for the first time. After this, it’s not required to fetch all profiles hence wanted to get only updated profiles and updated timelines of the same. (Incremental updates).
@cassy.lee , Looks like again you misunderstood the question here. Here first all the profiles and timelines are available to import/fetch via REST APIs. Upon fetching all the data once, want to fetch only the updated records/data every week, hence no need to import unmodified data. Is there a filter available in REST APIs to fetch only updated data after some interval?
My apologies if I’m not understanding your question entirely. If you have any examples or images to better illustrate what I’m missing, please feel free to pass along!
A possible solution in order to get profiles that are not part of the list is to create a segment of all profiles in the account, and then get all the profiles using this endpoint: https://www.klaviyo.com/docs/api/v2/lists#get-members-all
When setting this up, please use these conditions for a segment:
You can use this API request:
GEThttps://a.klaviyo.com/api/v2/group/{LIST_ID or SEGMENT_ID}/members/all
By clicking “Accept All Cookies,” you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts.
Privacy Preference Center
Your Privacy
Strictly Necessary Cookies
Performance Cookies
Functional Cookies
Targeting Cookies
Site Analytics
Your Privacy
When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
Privacy Notice
Strictly Necessary Cookies
Always Active
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
Performance Cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
Functional Cookies
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
Targeting Cookies
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
Site Analytics
These cookies record your visit to our website, and are used to track your visit including information such as: web page interactions (clicks, hovers, focus, mouse movements, browsing, zooms and other interactions), referring web page/source through which you accessed the Sites, heatmaps and scrolls, screen resolution, ISP, and statistics associated with the interaction between device or browser and the Sites. If you are accessing our Services with a European IP address, you have been asked to consent to the use of these cookies (you are free to deny your consent).