Hi @jimk
Thanks for asking the community!
Have you read through the documentation here?: https://developers.klaviyo.com/en/docs/rate_limits_and_error_handling
The endpoint you would use is documented here: https://developers.klaviyo.com/en/reference/bulk_import_profiles (where the endpoint is
https://a.klaviyo.com/api/profile-bulk-import-jobs).
In summary, that endpoint allows you to make 10,000 requests an hour. The response received will include headers that will inform you how close you are to hitting the rate limit, meaning whatever process you develop could pause depending on what is returned -
RateLimit–Limit
: The number of requests allowed per time period RateLimit-Remaining
: The approximate number of requests remaining within a window RateLimit-Reset
: Number of seconds remaining before current window resets
Does that help you get started with planning out the enrichment?
Thanks,
Ross
Does this https://a.klaviyo.com/api/profile-bulk-import-jobs allow us to update the custom properties of already existing profiles in bulk too?
Thanks @ross_hopkins. I should have let @kenw232 ask the question originally. He’s our lead engineer and knows more about our current and future use-cases and needs. I’ll butt out now. Thanks guys.
Cheers…...Jim
Hi @jimk and @kenw232,
Great questions! Have you looked into importing the data via SFTP? It’s not an API, but you should be able to upload files programmatically and it should easily handle the number of profile updates you’re talking about.
Klaviyo can process up to 6 million profile updates per hour without list subscriptions or up to 1 million per hour with list subscriptions.
https://developers.klaviyo.com/en/docs/sftp_import_tool
Thanks, and have a great rest of your day
Anthony
Thank you @anthony_laneve. Super helpful. Real-time and automoted is ideal and preferred, but this might be an option. @kenw232 will this work and with custom properties? We’d have to aggregate all data into a CSV from our preprossessing routines. Let’s discuss offline. Thanks again Anthony!
Hi @jimk @kenw232
Confirming that you can set custom properties via that API endpoint (https://developers.klaviyo.com/en/reference/bulk_import_profiles).
Expand the Attributes object and scroll down to Properties. That’s where you can test out how custom profile properties are to be added to the payload.
Thanks,
Ross
Terrific. Thanks for verifying @ross_hopkins. Very helpful
Best….Jim