You could use the https://a.klaviyo.com/api/v1/metric/{metric_id}/export API to get the count of how many times a particular event happened, e.g. "Received Email". This also supports a "by" clause, so you could include a request that asks for results grouped by "$attributed_flow" and then sum these up to get the value across all flows. Here is our guide on querying event data.
It shows that on 6/28, two emails were received from the Abandoned Cart Reminder - Standard flow. You could also make calls for the other email-related metrics, e.g.
You could use the https://a.klaviyo.com/api/v1/metric/{metric_id}/export API to get the count of how many times a particular event happened, e.g. "Received Email". This also supports a "by" clause, so you could include a request that asks for results grouped by "$attributed_flow" and then sum these up to get the value across all flows. Here is our guide on querying event data.
It shows that on 6/28, two emails were received from the Abandoned Cart Reminder - Standard flow. You could also make calls for the other email-related metrics, e.g.
As i understood the number of delivered emails is the sum of all the email metrics. What about the number of total recipients for flows? How can i pull this?
As i understood the number of delivered emails is the sum of all the email metrics. What about the number of total recipients for flows? How can i pull this?
I need to calculate the rates for each metrics - do i need to divide the metric amount with the number of recipients ?
Thank you! Another question - i am trying to pull all the opened emails for each campaign and the number i get is not exactly the same as the number i see in campaign reports here -
Is the number of recipients supposed to be equal to the sum of all the opened emails?
i am using this endpoint - https://a.klaviyo.com/api/v1/metric/S5Cx35/export metric id is the opened email metric id where - [[“Campaign Name","=",{Camapign_name}]] measurement - unique unit - day api_key - *** Am i doing something wrong?
As i understood you are showing uniques per month. But when i change the unit to month its still not the same exact number . Is there a way to pull it?