<?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: How to get all contacts subscribe with API in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-get-all-contacts-subscribe-with-API/m-p/749164#M60934</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/512780"&gt;@AGautheyrou&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for the question. You are correct that there is not a batch endpoint for this request.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you considered leveraging the List tool and API?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can create an active list of subscribers and then query the list to get the contacts from the list, either all contacts on a list or only contacts recently add to a list:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://legacydocs.hubspot.com/docs/methods/lists/get_list_contacts" target="_blank" rel="noopener"&gt;Get contacts in a list&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://legacydocs.hubspot.com/docs/methods/lists/get_list_contacts_recent?_ga=2.191038894.526945371.1675096861-1548983703.1675096861" target="_blank" rel="noopener"&gt;Get recently added contacts from a list&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;An example of the list filter might look like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CleanShot 2023-01-30 at 16.46.21.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/84284i36D75DD173F9D67D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CleanShot 2023-01-30 at 16.46.21.png" alt="CleanShot 2023-01-30 at 16.46.21.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This &lt;A href="https://knowledge.hubspot.com/contacts/how-do-subscription-preferences-and-types-work#:~:text=Based%20on%20whether%20you%20have%20GDPR%20enabled" target="_blank" rel="noopener"&gt;knowledge base article&lt;/A&gt; gives more detail into&amp;nbsp;&lt;EM&gt;opted-in&lt;/EM&gt; and&amp;nbsp;&lt;EM&gt;not-opted-in&lt;/EM&gt; statues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have fun building!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;— Jaycee&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jan 2023 23:49:35 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2023-01-30T23:49:35Z</dc:date>
    <item>
      <title>How to get all contacts subscribe with API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-get-all-contacts-subscribe-with-API/m-p/748721#M60907</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I want to get all my subscribed contact with API, but with the doc I can see it's a call one by one with the Email. Is there a way to get all contact with one call and not contact by contact (batch, search)?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 10:27:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-get-all-contacts-subscribe-with-API/m-p/748721#M60907</guid>
      <dc:creator>AGautheyrou</dc:creator>
      <dc:date>2023-01-30T10:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to get all contacts subscribe with API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-get-all-contacts-subscribe-with-API/m-p/749164#M60934</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/512780"&gt;@AGautheyrou&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for the question. You are correct that there is not a batch endpoint for this request.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you considered leveraging the List tool and API?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can create an active list of subscribers and then query the list to get the contacts from the list, either all contacts on a list or only contacts recently add to a list:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://legacydocs.hubspot.com/docs/methods/lists/get_list_contacts" target="_blank" rel="noopener"&gt;Get contacts in a list&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://legacydocs.hubspot.com/docs/methods/lists/get_list_contacts_recent?_ga=2.191038894.526945371.1675096861-1548983703.1675096861" target="_blank" rel="noopener"&gt;Get recently added contacts from a list&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;An example of the list filter might look like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CleanShot 2023-01-30 at 16.46.21.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/84284i36D75DD173F9D67D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CleanShot 2023-01-30 at 16.46.21.png" alt="CleanShot 2023-01-30 at 16.46.21.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This &lt;A href="https://knowledge.hubspot.com/contacts/how-do-subscription-preferences-and-types-work#:~:text=Based%20on%20whether%20you%20have%20GDPR%20enabled" target="_blank" rel="noopener"&gt;knowledge base article&lt;/A&gt; gives more detail into&amp;nbsp;&lt;EM&gt;opted-in&lt;/EM&gt; and&amp;nbsp;&lt;EM&gt;not-opted-in&lt;/EM&gt; statues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have fun building!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;— Jaycee&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 23:49:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-get-all-contacts-subscribe-with-API/m-p/749164#M60934</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-01-30T23:49:35Z</dc:date>
    </item>
  </channel>
</rss>

