Solved

Unable to fetch campaign statistics from API

  • 1 September 2021
  • 2 replies
  • 410 views

Badge +2

Hello,,

 

We are building an API integration with Klyaviyo API where we want to fetch data of multi-metric reports.

Can anyone help us where can we find the end point or any other way to pull the multi-metric reports via API?

icon

Best answer by retention 1 September 2021, 21:40

View original

2 replies

Userlevel 7
Badge +57

Hi @Shri09 - Welcome to the community.  Unfortunately, as far as I know, there’s no Campaign analytics API yet.  You can export those results as a CSV and import it into your tools.

See here:

Here’s a document about doing this too:

Userlevel 7
Badge +58

Hi @Shri09 ,

 

Although we do not have a built in method to get campaign analytics via API, this article provides some more detailed instructions around how to pull revenue attributed to your Flow and Campaign messages. In this case you'll want to use the endpoint mentioned under Conversions to pull metrics. I would recommend first using the Campaign API to pull all of your Message IDs here. Then you can loop through those with the Metrics API call to pull the events by attributed message.

 

Hope this helped!

Alex
 

Reply