I see the growth reports for lists online but I am looking to get that info via the API for ingestion into our own hosted data tools.
Anyone have any experience grabbing this data?
thanks
I see the growth reports for lists online but I am looking to get that info via the API for ingestion into our own hosted data tools.
Anyone have any experience grabbing this data?
thanks
Best answer by Brian Turcotte
Hi
It sounds like this use case could be accomplished using our Query Metric Aggregates endpoint. This endpoint can be used to gather aggregate event data associated with native Klaviyo metrics like “Subscribed to List”.
In order to fit your exact use case, you would just need to pull the ID of your Subscribed to List metric from your Klaviyo account, then specify "count"
from the measurement parameter, and "day"
in the interval parameter. In order to get the metric ID, you can go to your Klaviyo account and navigate to Analytics > Metrics> Search for Subscribe:
Then, go up to the URL and grab the ID, which is the alphanumeric code that will appear after “metric”:
You can also use our Developer Portal docs on this endpoint to help you form the Curl Request if you’d like.
I hope this helps, and thanks for using the Community!
- Brian
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.