Skip to main content
Contributor I
September 1, 2021
Solved

Unable to fetch campaign statistics from API

  • September 1, 2021
  • 2 replies
  • 545 views

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?

    This topic has been closed for replies.
    Best answer by retention

    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:

    2 replies

    retention
    Partner - Platinum
    retentionAnswer
    2025 Champion
    September 1, 2021

    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:

    Joseph Hsieh // retentioncommerce.com // X: @retention
    alex.hong
    Klaviyo Alum
    September 3, 2021

    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