Get email performance data for Revenue Attribution section

Hi eveyone!

I am trying to get the information from this section with the API:

This report I attached is a section of what I see when I go in the Marketing > Email section and click on a specific email.

So far I got the emails list and could trace all contacts that where involved with the emails and then, from the contacts I got the deals they were in and got their revenue. But this gives me all the deals these contacts were involved in.

Bu what I am interested is to only get the deals that are linked to this particular email, just as in the picture (the deals that can be attributed to this particular email). Then, If I am able to get these deals I will be able to get their revenue and other information.

Thanks!

Hi @PMunar,

To get email performance data specifically linked to attributed revenue like in your screenshot, you’ll need to use the HubSpot Revenue Attribution API.
Here’s how you can narrow it down,

This API is designed to show how assets like emails contribute to revenue. Use the Revenue Attribution Reports API to pull detailed attribution data tied to specific marketing assets.

Pass the specific email’s ID as a filter when using the Attribution API to get only deals associated with that email. This should limit the results to deals linked to interactions (e.g., email opens, clicks).

Look for fields like attributed-deal-revenue or attributed-deal-ids in the response to directly get the deals that contributed to the email’s attributed revenue.

This way, you won’t need to manually connect emails and deals through contacts.

I hope it helps, let me know if you need to talk!

Khushboo Pokhriyal

Growth & Operations

GroRapid Labs

LinkedIn | 9315044754 | Email | Website

Hi @KhushbooP11 !

Can you give me a link to the documentation for the API you mention in your post? I cannot find it in the API website.

Thanks!

Hey, @PMunar :waving_hand: You’re not missing anything. There is not a Revenue Attribution API. Attribution reporting is done in-app. There is a Reporting API, but it is based on legacy endpoints, while stable and supported, but don’t have fidelity with what is available in-app.

I hope this helps get you moving forward! — Jaycee

Hi @Jaycee_Lewis . Thanks for the clarification.

When you say that this is “done in-app”, do you mean that the attribution is done within the Hubspot site only?

I checked the Reporting API and it seems that there is no reference to attribution there.

Thanks!

Pere