# Webhook settings update wont work

**URL:** <https://community.hubspot.com/t/webhook-settings-update-wont-work/70030>\
**Category:** APIs & Integrations\
**Tags:** php, webhooks\
**Created:** [November 26, 2022, 10:04am UTC](https://community.hubspot.com/t/webhook-settings-update-wont-work/70030 "2022-11-26T10:04:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MicoleDev](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@MicoleDev](https://community.hubspot.com/u/MicoleDev)\
**Post date:** [November 26, 2022, 10:04am UTC](https://community.hubspot.com/t/webhook-settings-update-wont-work/70030/1 "2022-11-26T10:04:01Z")

</div>

We are experiencing issues while coding around webhook endpoints following documentation bellow for PHP:

> **[Accounts Dashboard | HubSpot](https://app.hubspot.com/myaccounts?next=developerdocs&redirect=%2Fapi-reference%2Fwebhooks-webhooks-v3%2Fguide)**

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

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [December 1, 2022, 7:35pm UTC](https://community.hubspot.com/t/webhook-settings-update-wont-work/70030/2 "2022-12-01T19:35:57Z")

</div>

Hi, @MicoleDev 👋 Thanks for the question. Hey, @tominal [@Mike\_Eastwood](https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259), do you have any tips you can share with @MicoleDev?

Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [December 1, 2022, 8:45pm UTC](https://community.hubspot.com/t/webhook-settings-update-wont-work/70030/3 "2022-12-01T20:45:35Z")

</div>

Hi @MicoleDev

There are gaps in all the SDKs, partly because of the constant improments to the API by the team at HubSpot.

What I do is use the client to make custom calls to the API:

`$endpoint = 'https://api.hubapi.com/settings/v3/endpoint-not-covered-in-sdk';``$response = $this->hubspot->getClient()->request('get', $endpoint);`

You can also pass in parameters for Post or other calls.

Have fun

Mike

p.s. thanks for the mention [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074)
