<?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 How to Track Newly Added or Removed Associations via API in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-Track-Newly-Added-or-Removed-Associations-via-API/m-p/1209921#M84848</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am integrating HubSpot CRM and need guidance on efficiently tracking associations.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;When I add a ticket to a contact (or vice versa), I noticed that &lt;STRONG&gt;only the ticket’s lastmodifieddate updates&lt;/STRONG&gt;, not the contact’s.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Is there a way to have the contact’s lastmodifieddate update on association changes?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I want to &lt;STRONG&gt;incrementally sync only newly added or removed associations&lt;/STRONG&gt; without scanning all contacts or tickets.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Is there an API endpoint or parameter to return &lt;STRONG&gt;only association changes&lt;/STRONG&gt; since a specific timestamp?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are there any &lt;STRONG&gt;best practices&lt;/STRONG&gt; for syncing associations at scale efficiently, including rate limits or batching recommendations?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Essentially, I need to track association changes efficiently for large datasets, ideally without full scans. Any guidance or examples would be appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for your support!&lt;/P&gt;</description>
    <pubDate>Wed, 08 Oct 2025 16:52:58 GMT</pubDate>
    <dc:creator>Suja</dc:creator>
    <dc:date>2025-10-08T16:52:58Z</dc:date>
    <item>
      <title>How to Track Newly Added or Removed Associations via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-Track-Newly-Added-or-Removed-Associations-via-API/m-p/1209921#M84848</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am integrating HubSpot CRM and need guidance on efficiently tracking associations.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;When I add a ticket to a contact (or vice versa), I noticed that &lt;STRONG&gt;only the ticket’s lastmodifieddate updates&lt;/STRONG&gt;, not the contact’s.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Is there a way to have the contact’s lastmodifieddate update on association changes?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I want to &lt;STRONG&gt;incrementally sync only newly added or removed associations&lt;/STRONG&gt; without scanning all contacts or tickets.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Is there an API endpoint or parameter to return &lt;STRONG&gt;only association changes&lt;/STRONG&gt; since a specific timestamp?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are there any &lt;STRONG&gt;best practices&lt;/STRONG&gt; for syncing associations at scale efficiently, including rate limits or batching recommendations?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Essentially, I need to track association changes efficiently for large datasets, ideally without full scans. Any guidance or examples would be appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for your support!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 16:52:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-Track-Newly-Added-or-Removed-Associations-via-API/m-p/1209921#M84848</guid>
      <dc:creator>Suja</dc:creator>
      <dc:date>2025-10-08T16:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to Track Newly Added or Removed Associations via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-Track-Newly-Added-or-Removed-Associations-via-API/m-p/1210030#M84853</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/999572"&gt;@Suja&lt;/a&gt;,&lt;BR /&gt;I’d recommend setting up a Rollup Property to track association changes. You can do this by creating a new Contact property, selecting Rollup as the type, and configuring it as shown in the screenshot below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dlupo_0-1759953178023.png" style="width: 777px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/158037i16EF602395C818CC/image-dimensions/777x666?v=v2" width="777" height="666" role="button" title="dlupo_0-1759953178023.png" alt="dlupo_0-1759953178023.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here’s what happens:&lt;BR /&gt;Each time a ticket is associated or an association is removed, the rollup property is automatically updated to reflect the current number of associated tickets. If no tickets are associated, the value will be 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From there, you have several options for further processing, for example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Trigger a workflow&lt;/STRONG&gt; based on changes to the rollup property.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Send a webhook&lt;/STRONG&gt; to a middleware service, which can then handle any further processing related to the association changes.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;That’s the approach I’d take to solve this.&lt;BR /&gt;Let me know if this works for you! &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 19:55:32 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-Track-Newly-Added-or-Removed-Associations-via-API/m-p/1210030#M84853</guid>
      <dc:creator>d-lupo</dc:creator>
      <dc:date>2025-10-08T19:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to Track Newly Added or Removed Associations via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-Track-Newly-Added-or-Removed-Associations-via-API/m-p/1210358#M84866</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/996002"&gt;@d-lupo&lt;/a&gt;,&lt;BR /&gt;Thank you so much for the suggestion — the Rollup Property approach definitely helps in tracking when associations change.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;That said, the Rollup only provides the &lt;STRONG&gt;total count&lt;/STRONG&gt; of associated tickets. In scenarios where there are a large number of associations (for example, over one million), it would still require iterating through all associations to determine &lt;STRONG&gt;which specific tickets were newly added or removed&lt;/STRONG&gt;, which is not efficient at scale.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Is there any way, through the API or otherwise, to &lt;STRONG&gt;fetch only the newly added or removed associated ticket IDs&lt;/STRONG&gt; for a specific contact ID?&lt;BR /&gt;That would make the process much more efficient and practical for large datasets.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I appreciate your guidance on this and look forward to your insights. &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 13:28:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-Track-Newly-Added-or-Removed-Associations-via-API/m-p/1210358#M84866</guid>
      <dc:creator>Suja</dc:creator>
      <dc:date>2025-10-09T13:28:40Z</dc:date>
    </item>
  </channel>
</rss>

