APIs & Integrations

AmirH
Member

Click To Call API Scopes

Hi.

This is Amir,

I've developed an extension for Click To Call and I tested it by manually saving the proper data in LocalStorage but when I'm going to install that extension on my app by calling this endpoint  the HubSpot API says

"This app hasn't been granted all required scopes to make this call."

 

However, I added both `contacts` and `timeline` scopes to my app and reauthenticated the clients with the app.

 

It would be nice if you can provide me the correct scopes for using that.

 

Thanks

0 Upvotes
2 Replies 2
WendyGoh
HubSpot Employee
HubSpot Employee

Click To Call API Scopes

Hey @AmirH,

 

I'm also seeing the same behavior and I noticed even when I attempted to include all scopes on my own app, I'm getting the same error.

 

In this case, I've reached out to our internal team to dig further into this and I'll keep you posted on any updates here. 

0 Upvotes
WendyGoh
HubSpot Employee
HubSpot Employee

Click To Call API Scopes

Hey @AmirH,

 

Just an update here! I have confirm with the internal team that when looking to use the get calling settings endpoint, you would need to provide your `developer portal hapikey` and the `appId` in the path. 

 

Hitting the endpoint with an OAuth token will never worked. 

 

Could you try using your `developer portal hapikey` and see if that works for you?

0 Upvotes