We are experiencing issues while coding around webhook endpoints following documentation bellow for PHP:
Endpoint: /webhooks/v3/{appId}/settings
We do use last updated hubspot/api-client composer library
In the documentation sample there is a line of code that isnt recognized by the hubspot library:
use HubSpot\Client\Webhooks\Settings\Model\SettingsChangeRequest;
This class just doesnt exists at all in hubspot library so we get following error:
Class "HubSpot\Client\Webhooks\Settings\Model\SettingsChangeRequest" not found
Not only that but some functions or properties are not accesible, for example:
$this->hubspot->webhooks()->settings()
will throw this error:
Unable to discover "settings" client
Are webhooks usable at all on PHP library? Anyone knows how to fix this issue please?
I guess we can make our own curl requests but thats not what we want to be honest.
Thanks in advance