Hi there,
we have an App with these scopes:
“oauth”,
“crm.objects.leads.read”,
“crm.objects.users.read”,
“crm.objects.appointments.read”,
“crm.objects.deals.read”,
“crm.objects.contacts.read”,
“crm.schemas.contacts.read”,
“crm.schemas.appointments.read”,
“crm.schemas.deals.read”
We want to subscribe to a webhook that tells us deal phase changes.
I POST this URL …
https://api.hubapi.com/webhooks/v3/{$appId}/subscriptions
… with theses settings:
$body = [
“subscriptionDetails” => [
“eventType” => “deal.propertyChange”,
“propertyName” => “dealstage”,
],
“targetUrl” => $webhook_url,
“active” => true
];
We call with an OAuth token (that works - for sure not the issue).
But we get this error back:
The scope needed for this API call isn’t available for public use. If you have questions, contact support or post in our developer forum.
category: “MISSING_SCOPES”
Our App is not listed in the marketplace (maybe that’s the issue?).
Thanks in advance for your help!
Best
Daniel

