<?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: Retrieve new associations between contacts and company in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Retrieve-new-associations-between-contacts-and-company/m-p/685422#M56302</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/432113"&gt;@Youpsla&lt;/a&gt;&amp;nbsp;consider these two options&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Polling more frequently, meaning reduce those 24hs window&lt;/P&gt;
&lt;P&gt;2) Stop using polling and consider using the&amp;nbsp;Webhooks API (subscribe to events happening)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Aug 2022 22:36:17 GMT</pubDate>
    <dc:creator>mangelet</dc:creator>
    <dc:date>2022-08-25T22:36:17Z</dc:date>
    <item>
      <title>Retrieve new associations between contacts and company</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Retrieve-new-associations-between-contacts-and-company/m-p/678471#M55704</link>
      <description>&lt;P&gt;We are a marketing service company aggregating datas from differents marketing channels for our client. Hubspot is one of this channel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to be able to retrieve contact/company associations. No issue doing that.&lt;BR /&gt;After inital setup, I would like to be able able tor etrieve on a daily basis new/modified associations. For doing so, I have setup a 2 steps workflow:&lt;BR /&gt;1) I retreive newly updated/created contacts ussing this endpoint:&amp;nbsp;&lt;A href="https://legacydocs.hubspot.com/docs/methods/contacts/get_recently_updated_contacts" target="_blank" rel="noopener"&gt;get_recently_updated_contacts&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;2) I retrieve associations for the contacts updated in the last 24 hours using this endpoint:&amp;nbsp;&lt;A href="https://legacydocs.hubspot.com/docs/methods/crm-associations/get-associations" target="_blank" rel="noopener"&gt;get-associations&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We run our script in AWS Lambda. Lambda has a limited running time of 900 seconds.&lt;BR /&gt;&lt;BR /&gt;As hubpost API reqsuests rate limit is 10/seconds, I got an issue when more than around 8000 contacts were updated in the last 24 hours.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Questions:&lt;BR /&gt;- Am I using the right workflow ?&lt;BR /&gt;- Is there a way to retrieve newly created/deleted associations ?&lt;BR /&gt;- Is there a way to retrieve contacts for which a specific property has been updated ? (The association one in this case)&lt;BR /&gt;- Do I have to change job as I'm too bad as a developper ?&lt;BR /&gt;&lt;BR /&gt;Thanks for your answers.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 10:12:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Retrieve-new-associations-between-contacts-and-company/m-p/678471#M55704</guid>
      <dc:creator>Youpsla</dc:creator>
      <dc:date>2022-08-11T10:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve new associations between contacts and company</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Retrieve-new-associations-between-contacts-and-company/m-p/678847#M55738</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/432113"&gt;@Youpsla&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Welcome to the community! Let's see if we can get the conversation going.&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/158"&gt;@jpsanchez&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/76319"&gt;@DanielSanchez&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/642"&gt;@mangelet&lt;/a&gt;&amp;nbsp;do you have any thoughts for&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/432113"&gt;@Youpsla&lt;/a&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 23:50:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Retrieve-new-associations-between-contacts-and-company/m-p/678847#M55738</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2022-08-10T23:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve new associations between contacts and company</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Retrieve-new-associations-between-contacts-and-company/m-p/685422#M56302</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/432113"&gt;@Youpsla&lt;/a&gt;&amp;nbsp;consider these two options&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Polling more frequently, meaning reduce those 24hs window&lt;/P&gt;
&lt;P&gt;2) Stop using polling and consider using the&amp;nbsp;Webhooks API (subscribe to events happening)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 22:36:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Retrieve-new-associations-between-contacts-and-company/m-p/685422#M56302</guid>
      <dc:creator>mangelet</dc:creator>
      <dc:date>2022-08-25T22:36:17Z</dc:date>
    </item>
  </channel>
</rss>

