Sorry, you are not authorized to access this app-create webhook


#1

I’m trying to create a webhook subscription via the API with the next code:

url=https://api.hubapi.com/webhooks/v1/api_id/subscriptions/?hapikey=api_key
json={
“subscriptionDetails”: {
“subscriptionType”: “contact.creation”,
},
“enabled”: False
}

and generate the next error:

Sorry, you are not authorized to access this app

I searched this error and I found that was fixed. I don’t know what is my mistake.


#2

Hi @Lelia_Rubiano

This is usually just a mismatch between the hapikey you’re using and the app_id. You’ll need to make sure that the hapikey you’re using is the Developer HAPIkey from the same developer account that the app was created in. You won’t be able to use a different hapikey from a separate portal to access apps in that developer account.