<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Webhook settings update wont work in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Webhook-settings-update-wont-work/m-p/725564#M59286</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/453214"&gt;@MicoleDev&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are gaps in all the SDKs, partly because of the constant improments to the API by the team at HubSpot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I do is use the client to make custom calls to the API:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;SPAN&gt;$endpoint&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;'https://api.hubapi.com/settings/v3/endpoint-not-covered-in-sdk'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;PRE&gt;$response&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;$this&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;hubspot&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;getClient&lt;/SPAN&gt;&lt;SPAN&gt;()-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;request&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'get'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;$endpoint&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;P&gt;You can also pass in parameters for Post or other calls.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have fun&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;p.s. thanks for the mention&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 20:45:35 GMT</pubDate>
    <dc:creator>Mike_Eastwood</dc:creator>
    <dc:date>2022-12-01T20:45:35Z</dc:date>
    <item>
      <title>Webhook settings update wont work</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Webhook-settings-update-wont-work/m-p/723280#M59065</link>
      <description>&lt;P&gt;We are experiencing issues while coding around webhook endpoints following documentation bellow for PHP:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.hubspot.com/docs/api/webhooks" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/api/webhooks&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Endpoint:&amp;nbsp;&lt;STRONG&gt;/webhooks/v3/{appId}/settings&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;We do use last updated &lt;STRONG&gt;hubspot/api-client&lt;/STRONG&gt; composer library&lt;BR /&gt;&lt;BR /&gt;In the documentation sample there is a line of code that isnt recognized by the hubspot library:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;use HubSpot\Client\Webhooks\Settings\Model\SettingsChangeRequest;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This class just doesnt exists at all in hubspot library so we get following error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Class "HubSpot\Client\Webhooks\Settings\Model\SettingsChangeRequest" not found&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Not only that but some functions or properties are not accesible, for example:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$this-&amp;gt;hubspot-&amp;gt;webhooks()-&amp;gt;settings()&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;will throw this error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Unable to discover "settings" client&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Are webhooks usable at all on PHP library? Anyone knows how to fix this issue please?&lt;BR /&gt;&lt;BR /&gt;I guess we can make our own curl requests but thats not what we want to be honest.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sat, 26 Nov 2022 10:04:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Webhook-settings-update-wont-work/m-p/723280#M59065</guid>
      <dc:creator>MicoleDev</dc:creator>
      <dc:date>2022-11-26T10:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Webhook settings update wont work</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Webhook-settings-update-wont-work/m-p/725537#M59280</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/453214"&gt;@MicoleDev&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for the question. Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/153634"&gt;@tominal&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259"&gt;@Mike_Eastwood&lt;/a&gt;, do&amp;nbsp;you have any tips you can share with&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/453214"&gt;@MicoleDev&lt;/a&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you! — Jaycee&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 19:35:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Webhook-settings-update-wont-work/m-p/725537#M59280</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2022-12-01T19:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Webhook settings update wont work</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Webhook-settings-update-wont-work/m-p/725564#M59286</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/453214"&gt;@MicoleDev&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are gaps in all the SDKs, partly because of the constant improments to the API by the team at HubSpot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I do is use the client to make custom calls to the API:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;SPAN&gt;$endpoint&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;'https://api.hubapi.com/settings/v3/endpoint-not-covered-in-sdk'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;PRE&gt;$response&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;$this&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;hubspot&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;getClient&lt;/SPAN&gt;&lt;SPAN&gt;()-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;request&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'get'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;$endpoint&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;P&gt;You can also pass in parameters for Post or other calls.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have fun&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;p.s. thanks for the mention&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 20:45:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Webhook-settings-update-wont-work/m-p/725564#M59286</guid>
      <dc:creator>Mike_Eastwood</dc:creator>
      <dc:date>2022-12-01T20:45:35Z</dc:date>
    </item>
  </channel>
</rss>

