We have encountered a case where we need the Delta Sync feature.
What is the Delta Sync feature?
We need a parameter that provides us with the time of the last profile sync. This time will be used as a query parameter in the GET import profile API (https://a.klaviyo.com/api/lists/listid/profiles).
Why is it needed?
It will help synchronize profiles after a certain time with minimal profiles.
Example from Mailchimp: GET /3.0/lists/{list_id}/members?since_last_changed=October 5, 2023
Thanks
Best answer by Kim Strauch
I see. So you’re looking to get all of the profiles that have been created or updated that belong to a single list and sync that over time? Can you confirm if my understanding of what you’re trying to do is correct?
You can filter on `updated_at` on the Get Profiles API. Would that work for you? Or does it need to specific to those who are members on a particular list? Can you share more details on how you’re using these profiles so I can better understand the use case and ideal solution?
Hey @Devphoenix! As of 2023-09-15, we have added support for a joined_group_at filter that I think accomplishes exactly what you’re describing (Changelog)
Here’s an example of this in action. Let us know if this works for your use case!
The solution you have suggested, unfortunately it is not working with the requirement that I have started.
Delta sync is a process of synchronizing contacts after a certain period of time. This period is determined by the last sync performed using the GET API of klaviyo and identified through the "since_last_changed" query parameter.
For example, let's say the last sync was performed on November 21, 2023, at 10:00 am, and the next sync is scheduled for November 21, 2023, at 11:00 am. If a contact is created or updated during this time, only that specific contact will be synchronized with platform.
I see. So you’re looking to get all of the profiles that have been created or updated that belong to a single list and sync that over time? Can you confirm if my understanding of what you’re trying to do is correct?
You can filter on `updated_at` on the Get Profiles API. Would that work for you? Or does it need to specific to those who are members on a particular list? Can you share more details on how you’re using these profiles so I can better understand the use case and ideal solution?
@Kim Strauch I see. So you’re looking to get all of the profiles that have been created or updated that belong to a single list and sync that over time? Can you confirm if my understanding of what you’re trying to do is correct?