APIs & Integrations

Not applicable

CRM Extension API OAuth permissions issue

hi, I’m attempting to use the CRM Extensions API with OAuth access, but I’m getting an error:
403 for URL: https://api.hubapi.com/extensions/sales-objects/v1/object-types [HTTP Response: 403 Forbidden]** http error stream ***{“status”:“error”,“message”:“This oauth-token (“xxx”) does not have proper permissions! (requires all of [developers-access])”,“correlationId”:"",“requestId”:""}

OAuth scopes which I successefully granted:
https://app.hubspot.com/oauth/authorize?client_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&scope=contact...

Could you please tell me what could be wrong with my query.

0 Upvotes
4 Replies 4
Not applicable

CRM Extension API OAuth permissions issue

Hi @Derek_Gervais,

Thanks for being in touch! Your answer helped me.

kind regards,
Vasiliy

Derek_Gervais
HubSpot Alumni
HubSpot Alumni

CRM Extension API OAuth permissions issue

Hi @Vasiliy,

The issue is that the CRM sales objects (and other settings) live in your developer portal, while the actual extension lives in the installed portal. Requests related to the actual functioning of the CRM extension must be authenticated via OAuth, but to make updates to your sales objects, you need to use your developer hapikey:

0 Upvotes
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

CRM Extension API OAuth permissions issue

Hi @Vasiliy,

Requests to get or update sales objects have to be made you your developer portal, using your developer hapikey.

0 Upvotes
Not applicable

CRM Extension API OAuth permissions issue

Hi Derek,

am I getting rigth that CRM Extensions API couldn’t be queried through Rest API using OAuth authentication? HAPIkey only?

0 Upvotes