<?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: Attaching pdfs to transactional emails in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Attaching-pdfs-to-transactional-emails/m-p/727732#M59446</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/305154"&gt;@THammer&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am the author of that article, I &lt;A href="https://www.linkedin.com/pulse/transactional-email-hubspot-everything-you-need-know-jack-coldrick/" target="_blank" rel="noopener"&gt;originally shared it on LinkedIn&lt;/A&gt; whilst I was working at HubSpot (no longer working there) and decided to put it up on the developer blog.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's true that you can add attachments to transactional emails but &lt;STRONG&gt;only if you are using the SMTP API&lt;/STRONG&gt;. It doesn't work if you use the Single Send API. As a rule of thumb any emails built within the HubSpot email editor don't support attachments whether they're marketing or transactional. The UI doesn't allow for it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To answer your questions specifically:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My questions are:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(1) is it possible to attach pdfs to transactional emails? (not just by adding a link to a static file)? If I've understood it correctly, HubSpot's SMTP API works by simply providing the server, so it should be possible to do this when designing the email. - &lt;STRONG&gt;Yes, but only using the SMTP API. With the SMTP API you have full and total control of the email and are simply using HubSpot SMTP as the mechanism to send and track.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;(2) is it possible to add any kind of pdf to a transactional email through single-send? I.e. so that we could create a unique pdf per transactional email externally and attach it? &lt;STRONG&gt;No, not as an attachment. The workaround if you are using Single Send API is to generate a link to a PDF file and include it as a custom token in the body of your email. It's not a true attachment in that sense but at least the recipient has a link to the file that is specific to them.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In short if you want to include attachments, it's possible but only with the SMTP API.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2022 11:40:13 GMT</pubDate>
    <dc:creator>coldrickjack</dc:creator>
    <dc:date>2022-12-07T11:40:13Z</dc:date>
    <item>
      <title>Attaching pdfs to transactional emails</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Attaching-pdfs-to-transactional-emails/m-p/727667#M59439</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;We are looking into sending transactional emails from HubSpot, either through SMTP og single-send.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to do so, we will need to be able to attach pdfs; both static and dynamic ones. According to &lt;A title="Transactional email hubspot and apis" href="https://developers.hubspot.com/blog/transactional-email-hubspot-and-apis" target="_blank" rel="noopener"&gt;this blog post from HubSpot in 2020&lt;/A&gt;, "&lt;SPAN&gt;The SMTP API gives you the unique ability to add attachments, including PDFs", but we cannot find any documentation to support this.&lt;BR /&gt;&lt;BR /&gt;My questions are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(1) is it possible to attach pdfs to transactional emails? (not just by adding a link to a static file)? If I've understood it correctly, HubSpot's SMTP API works by simply providing the server, so it should be possible to do this when designing the email.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;(2) is it possible to add any kind of pdf to a transactional email through single-send? I.e. so that we could create a unique pdf per transactional email externally and attach it?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 09:53:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Attaching-pdfs-to-transactional-emails/m-p/727667#M59439</guid>
      <dc:creator>THammer</dc:creator>
      <dc:date>2022-12-07T09:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching pdfs to transactional emails</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Attaching-pdfs-to-transactional-emails/m-p/727732#M59446</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/305154"&gt;@THammer&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am the author of that article, I &lt;A href="https://www.linkedin.com/pulse/transactional-email-hubspot-everything-you-need-know-jack-coldrick/" target="_blank" rel="noopener"&gt;originally shared it on LinkedIn&lt;/A&gt; whilst I was working at HubSpot (no longer working there) and decided to put it up on the developer blog.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's true that you can add attachments to transactional emails but &lt;STRONG&gt;only if you are using the SMTP API&lt;/STRONG&gt;. It doesn't work if you use the Single Send API. As a rule of thumb any emails built within the HubSpot email editor don't support attachments whether they're marketing or transactional. The UI doesn't allow for it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To answer your questions specifically:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My questions are:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(1) is it possible to attach pdfs to transactional emails? (not just by adding a link to a static file)? If I've understood it correctly, HubSpot's SMTP API works by simply providing the server, so it should be possible to do this when designing the email. - &lt;STRONG&gt;Yes, but only using the SMTP API. With the SMTP API you have full and total control of the email and are simply using HubSpot SMTP as the mechanism to send and track.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;(2) is it possible to add any kind of pdf to a transactional email through single-send? I.e. so that we could create a unique pdf per transactional email externally and attach it? &lt;STRONG&gt;No, not as an attachment. The workaround if you are using Single Send API is to generate a link to a PDF file and include it as a custom token in the body of your email. It's not a true attachment in that sense but at least the recipient has a link to the file that is specific to them.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In short if you want to include attachments, it's possible but only with the SMTP API.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 11:40:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Attaching-pdfs-to-transactional-emails/m-p/727732#M59446</guid>
      <dc:creator>coldrickjack</dc:creator>
      <dc:date>2022-12-07T11:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching pdfs to transactional emails</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Attaching-pdfs-to-transactional-emails/m-p/1163420#M82560</link>
      <description>&lt;P&gt;For the Sinlge Send API using a file url stored in hubspot, it looks like you have to use a signed url, which then breaks when sending because UTM tracking. Any way around this? We can't turn off UTM tracking completely.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 14:19:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Attaching-pdfs-to-transactional-emails/m-p/1163420#M82560</guid>
      <dc:creator>HubCon55</dc:creator>
      <dc:date>2025-06-11T14:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching pdfs to transactional emails</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Attaching-pdfs-to-transactional-emails/m-p/1248500#M86787</link>
      <description>&lt;P&gt;It would be great to have the opportunity to add attachemnets to tansactionals based on e-mail templates.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another solution would be if I could render an e-mail template by API. Simular to the transactional e-mail api, a new endpount takes the template ID and custom parameters, but returns the rendered e-mail include sender, rendered subject and other parameters.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 11:37:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Attaching-pdfs-to-transactional-emails/m-p/1248500#M86787</guid>
      <dc:creator>hkampen</dc:creator>
      <dc:date>2026-02-05T11:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching pdfs to transactional emails</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Attaching-pdfs-to-transactional-emails/m-p/1248509#M86788</link>
      <description>&lt;P&gt;Hey &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/97069"&gt;@hkampen&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;, I hope that you are well!&lt;BR /&gt;&lt;BR /&gt;Thanks for reaching out to the HubSpot Community!&lt;BR /&gt;&lt;BR /&gt;I’ve noticed a similar idea already present in our Ideas Forum: &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/Attachments-for-transactional-emails/idi-p/487720" target="_blank"&gt;Attachments for transactional emails&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;To contribute, you can upvote the existing idea and share more details about your specific use case in the comments.&lt;BR /&gt;&lt;BR /&gt;And regarding rendering Email Templates via API, I'd love to put you in touch with our Top Experts: Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/426475"&gt;@coldrickjack&lt;/a&gt;&lt;/SPAN&gt;, &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt; and &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/63499"&gt;@SteveHTM&lt;/a&gt;&lt;/SPAN&gt; can you think of a workaround to help &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/97069"&gt;@hkampen&lt;/a&gt;&lt;/SPAN&gt;, please?&lt;BR /&gt;&lt;BR /&gt;Thanks so much and have a wonderful day!&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 12:28:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Attaching-pdfs-to-transactional-emails/m-p/1248509#M86788</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2026-02-05T12:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching pdfs to transactional emails</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Attaching-pdfs-to-transactional-emails/m-p/1248786#M86792</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185"&gt;@BérangèreL&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I also looked for a Python script that can render the HTML from the fragmented response in the email API but didn't found one.&lt;/P&gt;&lt;P&gt;Our current workaround is to copy the HTML from a email template into our code base where we have to remove tracking features.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 09:12:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Attaching-pdfs-to-transactional-emails/m-p/1248786#M86792</guid>
      <dc:creator>hkampen</dc:creator>
      <dc:date>2026-02-06T09:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching pdfs to transactional emails</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Attaching-pdfs-to-transactional-emails/m-p/1248822#M86793</link>
      <description>&lt;P&gt;Hey &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/97069"&gt;@hkampen&lt;/a&gt;&lt;/SPAN&gt;, thanks so much for sharing your workaround with the HubSpot Community!&lt;BR /&gt;&lt;BR /&gt;I am sure this will be helpful for many other Members facing the same.&lt;BR /&gt;&lt;BR /&gt;Thanks again and have a lovely weekend!&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 12:19:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Attaching-pdfs-to-transactional-emails/m-p/1248822#M86793</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2026-02-06T12:19:59Z</dc:date>
    </item>
  </channel>
</rss>

