<?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: Are Deal IDs unique across HubSpot accounts or only within a single portal? in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Are-Deal-IDs-unique-across-HubSpot-accounts-or-only-within-a/m-p/1195717#M84056</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/985546"&gt;@ShivShegaji&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Great question, and thank you for bringing it to the HubSpot Community!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Deal IDs in HubSpot are unique only within a single portal (account).&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;This means it’s possible for different portals, including sandbox, production, or other separate HubSpot accounts, to have deals with the same Deal ID value.&lt;BR /&gt;&lt;BR /&gt;For example, both Sandbox A and Sandbox B may have a deal with the ID 12345, but these reference different records in their respective portals.&lt;BR /&gt;&lt;BR /&gt;Here are similar threads I found for you on the topic:&lt;BR /&gt;&lt;BR /&gt;- The solution from&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;on this post "&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Is-the-Contact-ID-unique-between-all-HubSpot-accounts/m-p/456413" target="_blank" rel="noopener"&gt;Is the Contact ID unique between all HubSpot accounts?&lt;/A&gt;"&lt;BR /&gt;- The solution from&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/2062"&gt;@Josh&lt;/a&gt;&amp;nbsp;on this post "&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Are-HubSpot-object-IDs-unique-on-an-account-wide-basis/m-p/864109" target="_blank" rel="noopener"&gt;Are HubSpot object IDs unique on an account-wide basis?&lt;/A&gt;"&lt;BR /&gt;- The solution from&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/111325"&gt;@karstenkoehler&lt;/a&gt;&amp;nbsp;on this post "&lt;A href="https://community.hubspot.com/t5/CRM/can-Deal-ID-and-Company-ID-be-the-same/m-p/635276" target="_blank" rel="noopener"&gt;can Deal ID and Company ID be the same&lt;/A&gt;"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;So if you’re managing or integrating data across multiple HubSpot portals, it’s safest to use a combination of portalId + dealId to ensure uniqueness and avoid any confusion.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Let us know if you have any more questions about HubSpot IDs, data integrations, or best practices, the community is here to help!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Have a lovely day!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":sun_with_face:"&gt;🌞&lt;/span&gt;&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
    <pubDate>Tue, 02 Sep 2025 14:15:16 GMT</pubDate>
    <dc:creator>BérangèreL</dc:creator>
    <dc:date>2025-09-02T14:15:16Z</dc:date>
    <item>
      <title>Are Deal IDs unique across HubSpot accounts or only within a single portal?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Are-Deal-IDs-unique-across-HubSpot-accounts-or-only-within-a/m-p/1195529#M84048</link>
      <description>&lt;P&gt;Hi HubSpot Community,&lt;/P&gt;&lt;P&gt;We are working with multiple HubSpot sandbox accounts and had a question about Deal IDs.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Are Deal IDs globally unique across all HubSpot accounts?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Or are they only guaranteed to be unique within a single HubSpot portal (account)?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For example, if Sandbox A has a deal with ID 12345, could Sandbox B also generate a deal with the same ID 12345?&lt;/P&gt;&lt;P&gt;We want to understand whether we should treat Deal IDs as globally unique, or if we should always use a combination of portalId + dealId to ensure uniqueness when working across multiple HubSpot accounts.&lt;/P&gt;&lt;P&gt;Thanks in advance for clarifying!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2025 03:21:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Are-Deal-IDs-unique-across-HubSpot-accounts-or-only-within-a/m-p/1195529#M84048</guid>
      <dc:creator>ShivShegaji</dc:creator>
      <dc:date>2025-09-02T03:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Are Deal IDs unique across HubSpot accounts or only within a single portal?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Are-Deal-IDs-unique-across-HubSpot-accounts-or-only-within-a/m-p/1195717#M84056</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/985546"&gt;@ShivShegaji&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Great question, and thank you for bringing it to the HubSpot Community!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Deal IDs in HubSpot are unique only within a single portal (account).&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;This means it’s possible for different portals, including sandbox, production, or other separate HubSpot accounts, to have deals with the same Deal ID value.&lt;BR /&gt;&lt;BR /&gt;For example, both Sandbox A and Sandbox B may have a deal with the ID 12345, but these reference different records in their respective portals.&lt;BR /&gt;&lt;BR /&gt;Here are similar threads I found for you on the topic:&lt;BR /&gt;&lt;BR /&gt;- The solution from&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;on this post "&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Is-the-Contact-ID-unique-between-all-HubSpot-accounts/m-p/456413" target="_blank" rel="noopener"&gt;Is the Contact ID unique between all HubSpot accounts?&lt;/A&gt;"&lt;BR /&gt;- The solution from&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/2062"&gt;@Josh&lt;/a&gt;&amp;nbsp;on this post "&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Are-HubSpot-object-IDs-unique-on-an-account-wide-basis/m-p/864109" target="_blank" rel="noopener"&gt;Are HubSpot object IDs unique on an account-wide basis?&lt;/A&gt;"&lt;BR /&gt;- The solution from&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/111325"&gt;@karstenkoehler&lt;/a&gt;&amp;nbsp;on this post "&lt;A href="https://community.hubspot.com/t5/CRM/can-Deal-ID-and-Company-ID-be-the-same/m-p/635276" target="_blank" rel="noopener"&gt;can Deal ID and Company ID be the same&lt;/A&gt;"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;So if you’re managing or integrating data across multiple HubSpot portals, it’s safest to use a combination of portalId + dealId to ensure uniqueness and avoid any confusion.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Let us know if you have any more questions about HubSpot IDs, data integrations, or best practices, the community is here to help!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Have a lovely day!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":sun_with_face:"&gt;🌞&lt;/span&gt;&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2025 14:15:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Are-Deal-IDs-unique-across-HubSpot-accounts-or-only-within-a/m-p/1195717#M84056</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-09-02T14:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Are Deal IDs unique across HubSpot accounts or only within a single portal?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Are-Deal-IDs-unique-across-HubSpot-accounts-or-only-within-a/m-p/1195733#M84060</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/985546"&gt;@ShivShegaji&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Deal IDs, as well as other object IDs like contactId, companyId, are only guaranteed to be unique within a single HubSpot account. They are not globally unique in all HubSpot accounts. So, as you have said, the best practice is to use a combination of both portalId and ObjectId to make it unique globally.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this will help you out. Please mark it as &lt;/SPAN&gt;&lt;STRONG&gt;Solution Accepted and upvote&lt;/STRONG&gt;&lt;SPAN&gt; to help another Community member.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2025 14:39:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Are-Deal-IDs-unique-across-HubSpot-accounts-or-only-within-a/m-p/1195733#M84060</guid>
      <dc:creator>GRajput</dc:creator>
      <dc:date>2025-09-02T14:39:34Z</dc:date>
    </item>
  </channel>
</rss>

