-
Notifications
You must be signed in to change notification settings - Fork 9
Using Identify Profile API #7
Comments
Great question! We do not currently support batch Identify operations, though it is on our roadmap. That said, there is a nice solution for you: the PHP pthread library, and pooling in particular. This will allow you to send Identify requests N times faster, where N is your # of threads. I recommend setting the rate limit on your end to 350 requests/second. The reason this works is that these endpoints have a higher rate limit than you could hit with a single thread, because there is naturally some ping time between requests. By parallelizing your requests, you can approach our rate limit (~350/second). Hopefully this helps! If you have any further questions, feel free to reach out, we greatly appreciate any and all feedback towards improving our developer experience. |
Hi there, Thanks. |
Currently, the best way to do this is to make a request to the getProfileId endpoint, with which you can retrieve a profile ID given an identifier (email/phone_number/external_id). You do however bring up a great point that our API should be returning that data from the get-go. With that in mind, I am happy to share that we are pretty far along in developing our new and improved API, which resolves this issue among its many other improvements. This upcoming API is currently in closed Alpha, but if you are interested in learning more, feel free to connect with our team here: [email protected] . You can also sign up for our developer newsletter in the footer of our developer site: developers.klaviyo.com . And do please reach out with any additional questions or suggestions. The quality of our APIs and SDKs is a core focus for us, and your feedback is a key component of that. Cheers! |
Hi Jon, Thank you for the instructions and more! |
Hello,
I am able to use the Identify Profile API to create profiles. But it can only create one at a time. How do I batch import data from our system?
Perhaps what would be the best way to do this on a regular basis?
Thanks,
The text was updated successfully, but these errors were encountered: