<?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: Help Needed: Retrieving Old Primary Record ID from Merged Contacts Using HubSpot REST API in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Help-Needed-Retrieving-Old-Primary-Record-ID-from-Merged/m-p/1122243#M80864</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/914484"&gt;@softcialdev&lt;/a&gt;&amp;nbsp;you can retrieve it via the propertiesWithHistory param using the&amp;nbsp;&lt;STRONG&gt;hs_object_id&amp;nbsp;&lt;/STRONG&gt;company property&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl --request GET \
  --url 'https://api.hubapi.com/crm/v3/objects/companies/{companyId}?propertiesWithHistory=hs_object_id&amp;amp;archived=false' \
  --header 'authorization: Bearer YOUR_ACCESS_TOKEN'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Mar 2025 21:25:03 GMT</pubDate>
    <dc:creator>BBaber</dc:creator>
    <dc:date>2025-03-13T21:25:03Z</dc:date>
    <item>
      <title>Help Needed: Retrieving Old Primary Record ID from Merged Contacts Using HubSpot REST API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Help-Needed-Retrieving-Old-Primary-Record-ID-from-Merged/m-p/1122158#M80858</link>
      <description>&lt;P&gt;Hello community!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When two or more contacts are merged, HubSpot creates a new RecordId and the others RecordIds are stored in&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;hs_merged_object_ids property.&lt;BR /&gt;&lt;BR /&gt;However, is there any endpoint available in the REST API to return what was the primary RecordId before merging them?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 Mar 2025 18:41:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Help-Needed-Retrieving-Old-Primary-Record-ID-from-Merged/m-p/1122158#M80858</guid>
      <dc:creator>softcialdev</dc:creator>
      <dc:date>2025-03-13T18:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed: Retrieving Old Primary Record ID from Merged Contacts Using HubSpot REST API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Help-Needed-Retrieving-Old-Primary-Record-ID-from-Merged/m-p/1122243#M80864</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/914484"&gt;@softcialdev&lt;/a&gt;&amp;nbsp;you can retrieve it via the propertiesWithHistory param using the&amp;nbsp;&lt;STRONG&gt;hs_object_id&amp;nbsp;&lt;/STRONG&gt;company property&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl --request GET \
  --url 'https://api.hubapi.com/crm/v3/objects/companies/{companyId}?propertiesWithHistory=hs_object_id&amp;amp;archived=false' \
  --header 'authorization: Bearer YOUR_ACCESS_TOKEN'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 21:25:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Help-Needed-Retrieving-Old-Primary-Record-ID-from-Merged/m-p/1122243#M80864</guid>
      <dc:creator>BBaber</dc:creator>
      <dc:date>2025-03-13T21:25:03Z</dc:date>
    </item>
  </channel>
</rss>

