Hi @max12345 , 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.
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 HubSpot user that the token was created for. This user_id is the same as the remoteId found in the get owners API endpoint. You are correct that this user would be a user in the portal.
Hi @max12345 , 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.
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 HubSpot user that the token was created for. This user_id is the same as the remoteId found in the get owners API endpoint. You are correct that this user would be a user in the portal.