Scope for getting the deal information

Hi,

We are using deals api to get information about the deal. As per the Hubspot documentation : Working with OAuth - HubSpot docs , contacts scope has to be used so that the user can grant access.

One of the users doesn’t have access to contact and files but has access to deals. This user is not able to connect the account. If the user is granted access to contact and files, he is able to connect the account. After we get the access token, even if access to contact and files is revoked, the deals api is working properly.

Is there a way to provide just deal as the scope and not look for contact and files?

Hello @Manish-in ,

With regards to your second paragraph, this is working as designed.

I am pretty sure you will need the contacts scope for deals.

@MatthewShepherd , would you agree there?

Hi @dennisedson @Manish-in yes, as far as I can see the contacts scope has to be used to access deals which also provides access to Contact, Companies, Properties, Engagements, and Owners endpoints. I don’t currently see a way to just provide access to the deals endpoint.