I have a web app where I would like to show a list for each user of the emails they have received from Klaviyo. To track those emails, I was hoping to find webhook support in the API so my app could be notified when the emails are delivered, but I don’t see that. If I want to know which emails have been sent, do I need to poll one of the endpoints? I see that there are endpoints for metrics and that they can be treated as events, but it’s not clear what metrics are available or if they include email delivery. Maybe there is some way to track this through the email delivery mechanism? Thanks!
You can export any particular metric from the API though with the ID of the metric. To get the ID you can click the analytics tab on the left:
Then click on “See all metrics” to go to the page with all of your metrics listed:
On that page, you can click any metric, for this it sounds like you want either “Received Email” or “Opened Email”. That will take you to the page for that individual metric. Then, on that page if you look in the URL you will see the ID for that metric which you are looking at:
This ID is for my test account but you should see a similar one in the URL for your metric.
Once you have the ID of the metric you can export a timeline of that specific metric: https://apidocs.klaviyo.com/reference/metrics#metric-export
Or you can export the timeline of a particular profile filtered by that specific metric: https://apidocs.klaviyo.com/reference/profiles#profile-metric-timeline
Let me know if this helps and keep an eye out for the ability to send a webhook request from a Flow in the future.
It’s been spinning like that for about 45 minutes. I’m having trouble finding something that looks like an account id, but my email is aubrey at withgrayce.com
Has their been any update to this so we can now query the api to get the delivery status?
Reply
Log in to the Community
Use your Klaviyo credentials
Log in with Klaviyo
Use your Klaviyo credentials
Log in with KlaviyoEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.