<?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 Get marketing emails by email campaign ID in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Get-marketing-emails-by-email-campaign-ID/m-p/1039719#M76548</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use the GET &lt;A href="https://legacydocs.hubspot.com/docs/methods/cms_email/get-all-marketing-emails" target="_blank" rel="noopener"&gt;/marketing-emails/v1/emails&lt;/A&gt; API to fetch a marketing email based on the campaignID. It seems like "campaign" is no longer returned in the API response and has been replaced by "&lt;SPAN&gt;allEmailCampaignIds&lt;/SPAN&gt;".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to pass a query filter on&amp;nbsp;&amp;nbsp;"&lt;SPAN&gt;allEmailCampaignIds&lt;/SPAN&gt;". When I tried it out, the API responded with:&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;Invalid query Filtering by \"all_email_campaign_ids eq\" is not allowed"&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2024 19:57:43 GMT</pubDate>
    <dc:creator>TSantos10</dc:creator>
    <dc:date>2024-09-11T19:57:43Z</dc:date>
    <item>
      <title>Get marketing emails by email campaign ID</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-marketing-emails-by-email-campaign-ID/m-p/1039719#M76548</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use the GET &lt;A href="https://legacydocs.hubspot.com/docs/methods/cms_email/get-all-marketing-emails" target="_blank" rel="noopener"&gt;/marketing-emails/v1/emails&lt;/A&gt; API to fetch a marketing email based on the campaignID. It seems like "campaign" is no longer returned in the API response and has been replaced by "&lt;SPAN&gt;allEmailCampaignIds&lt;/SPAN&gt;".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to pass a query filter on&amp;nbsp;&amp;nbsp;"&lt;SPAN&gt;allEmailCampaignIds&lt;/SPAN&gt;". When I tried it out, the API responded with:&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;Invalid query Filtering by \"all_email_campaign_ids eq\" is not allowed"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 19:57:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-marketing-emails-by-email-campaign-ID/m-p/1039719#M76548</guid>
      <dc:creator>TSantos10</dc:creator>
      <dc:date>2024-09-11T19:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Get marketing emails by email campaign ID</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-marketing-emails-by-email-campaign-ID/m-p/1040164#M76568</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/825063"&gt;@TSantos10&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use this API to get marketing emails and then you can filter it out marketing campaign name property.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developers.hubspot.com/docs/api/marketing/marketing-email" target="_blank"&gt;https://developers.hubspot.com/docs/api/marketing/marketing-email&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GRajput_0-1726151915446.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/126786i20266D104EE025CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GRajput_0-1726151915446.png" alt="GRajput_0-1726151915446.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-sheets-root="1"&gt;I hope this will help you out. Please mark it as &lt;STRONG&gt;Solution Accepted and upvote&lt;/STRONG&gt; to help another Community member.&lt;BR /&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 14:39:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-marketing-emails-by-email-campaign-ID/m-p/1040164#M76568</guid>
      <dc:creator>GRajput</dc:creator>
      <dc:date>2024-09-12T14:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get marketing emails by email campaign ID</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-marketing-emails-by-email-campaign-ID/m-p/1040385#M76583</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/506314"&gt;@Gau&lt;/a&gt;, unfortunately I only have the emailCampaignID and I need the ability to filter using it.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 20:24:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-marketing-emails-by-email-campaign-ID/m-p/1040385#M76583</guid>
      <dc:creator>TSantos10</dc:creator>
      <dc:date>2024-09-12T20:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get marketing emails by email campaign ID</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-marketing-emails-by-email-campaign-ID/m-p/1040583#M76590</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/825063"&gt;@TSantos10&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can get details about the campaign using this API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;GET  /marketing/v3/campaigns/{campaignId}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-sheets-root="1"&gt;I hope this will help you out. Please mark it as &lt;STRONG&gt;Solution Accepted and upvote&lt;/STRONG&gt; to help another Community member.&lt;BR /&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 08:07:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-marketing-emails-by-email-campaign-ID/m-p/1040583#M76590</guid>
      <dc:creator>GRajput</dc:creator>
      <dc:date>2024-09-13T08:07:25Z</dc:date>
    </item>
  </channel>
</rss>

