Get the HTML body of a previously sent email/campaign


#1

Hello,

Is it possible to retrieve the HTML of a previously sent email, especially one sent via a campaign?

The message body will of course be different for each recipient, but all I am interested in is the “template” email that was the basis of the message.

If I retrieve information about a campaign, that response contains a “contentId” property, which I can feed into the

/content/api/v2/emails/{contentid} API.

That returns a response that contains some fragments of the HTML, as well as a lot of Hubspot-only data, but what I really need is the “complete” body of the email template.

Is this possible?

Thank you,

Ross