CRM Extensions API

SOLVE
Highlighted
New Member
Hi,

I have intigrated HubSpot OAuth API on my application , Using Hubspot API I want to create "Create object type" on another user account who have alreday given the access to my APP and I have Access token of user also.

Now When I am trying to hit the API (https://developers.hubspot.com/docs/methods/crm-extensions/create-object-type) I am getting error "Application Id: XXXX Not Authorized For Portal Id: XXXXX". Is this possible using Oauth API or not  ? If yes any suggestion ?
Is there any way to get Developer API key using Oauth ? 

Thanks
Sanjiv Kumar 
Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
Highlighted
HubSpot Moderator

Hi @sanjivregalbit 

 

Is the App you're currently using to initiate the OAuth handshake installed in the Portal you're attempting to use? If so, you should be able to go to Settings > Integrations > Connected Apps and see your App here.


If it is not, then the OAuth handshake to install this App in your Portal was unsuccesful and will need to be done again. 

 

For assistance, see our documentation on intitiating an integration with OAuth here: https://developers.hubspot.com/docs/methods/oauth2/initiate-oauth-integration

 

I hope this helps! 

Matthew Willson

HubSpot Developer Support
Reply
0 Upvotes
1 Reply 1
Highlighted
HubSpot Moderator

Hi @sanjivregalbit 

 

Is the App you're currently using to initiate the OAuth handshake installed in the Portal you're attempting to use? If so, you should be able to go to Settings > Integrations > Connected Apps and see your App here.


If it is not, then the OAuth handshake to install this App in your Portal was unsuccesful and will need to be done again. 

 

For assistance, see our documentation on intitiating an integration with OAuth here: https://developers.hubspot.com/docs/methods/oauth2/initiate-oauth-integration

 

I hope this helps! 

Matthew Willson

HubSpot Developer Support
Reply
0 Upvotes