<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Access to complete HTML on MarketingEmails endpoint in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Access-to-complete-HTML-on-MarketingEmails-endpoint/m-p/392851#M38816</link>
    <description>&lt;P&gt;Hey &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/71334"&gt;@ab-jordanskole&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;What API are you looking at.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hit this url:&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://api.hubapi.com/marketing-emails/v1/emails/37720142304?hapikey={{hapi" target="_blank"&gt;https://api.hubapi.com/marketing-emails/v1/emails/37720142304?hapikey={{hapi&lt;/A&gt;}}&lt;/STRONG&gt; and it returns the the content of the email.&amp;nbsp; Broken up into modules (I tested with a drag and drop email)&lt;/P&gt;
&lt;P&gt;This is a bit of what was returned&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;"module-1-1-1": {
            "body": {
                "css_class": "dnd-module",
                "hs_enable_module_padding": true,
                "html": "&amp;lt;p style=\"margin-bottom: 10px;\"&amp;gt;&amp;lt;a href=\"https://www.google.com\" rel=\"noopener\"&amp;gt;Welcome&amp;lt;/a&amp;gt; friend, thank the reader for signing up to your newsletter and welcome them on board. Below your introduction, add a few links to some popular pages or posts on your website to give the reader an idea of what’s to come.&amp;lt;/p&amp;gt;\n&amp;lt;ol&amp;gt;\n&amp;lt;li&amp;gt;&amp;lt;strong&amp;gt;Showcase your best stories&amp;lt;br&amp;gt;&amp;lt;/strong&amp;gt;Give an overview of an existing blog post or a popular story from a previous newsletter. Be sure to add a &amp;lt;a target=\"_blank\" rel=\"noopener\"&amp;gt;link&amp;lt;/a&amp;gt; so the reader can learn more.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/li&amp;gt;\n&amp;lt;li&amp;gt;&amp;lt;strong&amp;gt;Help people get to know you&amp;lt;br&amp;gt;&amp;lt;/strong&amp;gt;Share a link to your website’s &amp;lt;a target=\"_blank\" rel=\"noopener\"&amp;gt;about us&amp;lt;/a&amp;gt; page where the reader can learn more about you and your community.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/li&amp;gt;\n&amp;lt;li&amp;gt;&amp;lt;strong&amp;gt;Keep the conversation going&amp;lt;br&amp;gt;&amp;lt;/strong&amp;gt;Tell your reader how they can get in touch if they have questions.&amp;lt;/li&amp;gt;\n&amp;lt;/ol&amp;gt;\n&amp;lt;p style=\"margin-bottom: 10px;\"&amp;gt;Thanks,&amp;lt;br&amp;gt;The Your Company Name team&amp;lt;/p&amp;gt;",
                "i18nKey": "richText.welcome.primary",
                "path": "@hubspot/rich_text",
                "schema_version": 2
            },&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Curious what your use case is for this.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Dec 2020 22:05:24 GMT</pubDate>
    <dc:creator>dennisedson</dc:creator>
    <dc:date>2020-12-10T22:05:24Z</dc:date>
  </channel>
</rss>

