<?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: difference between user_id and hub_id in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/difference-between-user-id-and-hub-id/m-p/263779#M23568</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13804"&gt;@JasminLin&lt;/a&gt;&amp;nbsp;: Thanks for the clarification.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2019 10:34:58 GMT</pubDate>
    <dc:creator>max12345</dc:creator>
    <dc:date>2019-04-08T10:34:58Z</dc:date>
    <item>
      <title>difference between user_id and hub_id</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/difference-between-user-id-and-hub-id/m-p/263633#M23555</link>
      <description>&lt;P&gt;what is the difference between &lt;STRONG&gt;hub_id&lt;/STRONG&gt; and &lt;STRONG&gt;user_id&lt;/STRONG&gt; field in &lt;A title="access-token-info" href="https://developers.hubspot.com/docs/methods/oauth2/get-access-token-information" target="_blank" rel="noopener"&gt;this&lt;/A&gt; api&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.hubspot.com/docs/methods/oauth2/get-access-token-information" target="_blank"&gt;https://developers.hubspot.com/docs/methods/oauth2/get-access-token-information&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;seems like &lt;STRONG&gt;hub_id&lt;/STRONG&gt;&amp;nbsp;from above and&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;portalId&lt;/STRONG&gt;&amp;nbsp;from &lt;A title="get_owners" href="https://developers.hubspot.com/docs/methods/owners/get_owners" target="_blank" rel="noopener"&gt;this&lt;/A&gt; api &lt;/SPAN&gt;are same&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.hubspot.com/docs/methods/owners/get_owners" target="_blank"&gt;https://developers.hubspot.com/docs/methods/owners/get_owners&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;does it mean the user with user_id is part of the portal (or hub) - like a user of an organization ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;can a user be identified using user_id ?&lt;/LI&gt;&lt;LI&gt;can the logged in user's organization be identified using portal_id&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 05 Apr 2019 19:08:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/difference-between-user-id-and-hub-id/m-p/263633#M23555</guid>
      <dc:creator>max12345</dc:creator>
      <dc:date>2019-04-05T19:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: difference between user_id and hub_id</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/difference-between-user-id-and-hub-id/m-p/263756#M23564</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/91341"&gt;@max12345&lt;/a&gt;&amp;nbsp;, the hub_id is the portal ID. When you create an account with HubSpot, whether its a free, paid or developer account, there will be an ID associated to it and that is the portal ID. It can be found in the URL when you are logged in to your account in HubSpot. You are also correct that it is the same as the portalId found in the owners API.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The user_id is the ID of a specific HubSpot user in that portal ID. In the get access token info API endpoint, the user_id and user fields is the&amp;nbsp;HubSpot user that the token was created for. This user_id is the same as the remoteId found in the &lt;A href="https://developers.hubspot.com/docs/methods/owners/get_owners" target="_self"&gt;get owners&lt;/A&gt; API endpoint. You are correct that this user would be a user in the portal.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 08:21:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/difference-between-user-id-and-hub-id/m-p/263756#M23564</guid>
      <dc:creator>JasminLin</dc:creator>
      <dc:date>2019-04-08T08:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: difference between user_id and hub_id</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/difference-between-user-id-and-hub-id/m-p/263779#M23568</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13804"&gt;@JasminLin&lt;/a&gt;&amp;nbsp;: Thanks for the clarification.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 10:34:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/difference-between-user-id-and-hub-id/m-p/263779#M23568</guid>
      <dc:creator>max12345</dc:creator>
      <dc:date>2019-04-08T10:34:58Z</dc:date>
    </item>
  </channel>
</rss>

