<?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: Cannot manage Webhooks settings via the API in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Cannot-manage-Webhooks-settings-via-the-API/m-p/727541#M59429</link>
    <description>&lt;P&gt;It just occurs to me that I may have a fundamental misunderstanding of how HubSpot Webhooks work. I assumed I need to install a webhook for each HubSpot organization that installs our HubSpot integration. But it seems like I only need to install it once for our application and it applies to all orgs that install our integration. Is that correct?&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2022 00:01:10 GMT</pubDate>
    <dc:creator>haacked</dc:creator>
    <dc:date>2022-12-07T00:01:10Z</dc:date>
    <item>
      <title>Cannot manage Webhooks settings via the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cannot-manage-Webhooks-settings-via-the-API/m-p/720865#M58887</link>
      <description>&lt;P&gt;Hello! I'm trying to manage Webhook settings using the API by following &lt;A href="https://developers.hubspot.com/docs/api/webhooks#manage-settings-via-api" target="_blank" rel="noopener"&gt;this guide&lt;/A&gt;. I thought I would start simple and try to call&amp;nbsp;&lt;FONT face="terminal,monaco"&gt;GET&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="terminal,monaco"&gt;/webhooks/v3/{appId}/settings&lt;/FONT&gt; to retrieve the settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the error (emphasis mine):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;Authentication credentials not found. This API supports &lt;STRONG&gt;both API Key and OAuth 2.0 authentication&lt;/STRONG&gt; and you can find more details at &lt;A href="https://developers.hubspot.com/docs/methods/auth/oauth-overview" target="_blank"&gt;https://developers.hubspot.com/docs/methods/auth/oauth-overview&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I try to use OAuth authentication and I get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;This API &lt;STRONG&gt;can't be called using an OAuth access token&lt;/STRONG&gt;.&amp;nbsp;&lt;STRONG&gt;A valid developer API key must be provided&lt;/STRONG&gt; in the `hapikey` query parameter, and a valid `appId` must be provided in the API request.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The error has a helpful link pointing me where to create a Developer API Key. Problem is, when I go there, I see this:&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;BR /&gt;Private apps are replacing API keys.&amp;nbsp;Private apps use secure access tokens instead of API keys.&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;It won't let me create a developer API key. I tried to create a private app and use the AccessToken in the hapikey query parameter, but that didn't work either.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;The API key provided is invalid. View or manage your API key here: &lt;A href="https://app.hubspot.com/l/api-key/" target="_blank"&gt;https://app.hubspot.com/l/api-key/&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;I click the link and it takes me back to the Developer API Key page. So at this point, I'm completely stuck. It seems like the documentation are completely at odds with each other.&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Nov 2022 06:08:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cannot-manage-Webhooks-settings-via-the-API/m-p/720865#M58887</guid>
      <dc:creator>haacked</dc:creator>
      <dc:date>2022-11-21T06:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot manage Webhooks settings via the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cannot-manage-Webhooks-settings-via-the-API/m-p/721226#M58944</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/478205"&gt;@haacked&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Sorry you've been stuck in a frustration-loop with the documentation. Let me see if I can get you pointed in the right direction, and I'll make a request to get the link to the Developer API key documentation linking folks to the correct document.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's the correct link for “&lt;A href="https://legacydocs.hubspot.com/docs/faq/developer-api-keys" target="_blank" rel="noopener"&gt;developer API key&lt;/A&gt;”.&lt;/P&gt;
&lt;P&gt;Please note, Developer API keys are separate from HAPI keys and are&amp;nbsp;&lt;EM&gt;not&lt;/EM&gt; affected by the upcoming HAPI key sunset.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's how to find your &lt;STRONG&gt;Developer API key&lt;/STRONG&gt; for anyone else who bumps into the same issue:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Navigate to your App Developer Account. You can verify you're in the right place by viewing the top banner, it will show “&lt;STRONG&gt;This is an app developer account&lt;/STRONG&gt;”&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dev-api-1.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/79615i94D360503EC95E34/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dev-api-1.png" alt="dev-api-1.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;From there, click the App tab &amp;gt; Get HubSpot API key&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dev-api-2.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/79616i2EE85B970DE412B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dev-api-2.png" alt="dev-api-2.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;If we are working from the page example, you can input in the Developer API key field&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dev-api-3.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/79617iC31E96192D6191AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dev-api-3.png" alt="dev-api-3.png" /&gt;&lt;/span&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;From there, you should be good to go.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the heads-up about the linked document being confusing, I'll submit a request to get that updated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have fun building! — Jaycee&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 19:03:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cannot-manage-Webhooks-settings-via-the-API/m-p/721226#M58944</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2022-11-22T19:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot manage Webhooks settings via the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cannot-manage-Webhooks-settings-via-the-API/m-p/721764#M58982</link>
      <description>&lt;P&gt;Thanks for the help! I think I was confused because I was logging into one of my test accounts and didn't realize I was missing that banner at the top. I see the banner when I log into our company developer account.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 19:02:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cannot-manage-Webhooks-settings-via-the-API/m-p/721764#M58982</guid>
      <dc:creator>haacked</dc:creator>
      <dc:date>2022-11-22T19:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot manage Webhooks settings via the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cannot-manage-Webhooks-settings-via-the-API/m-p/727384#M59423</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;, I followed all the instructions (as best as I could) but am still running into problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I logged into the correct Developer Account. Here's our Apps page and you can see the "Get HubSpot API Key" button is there. Along with an app with App Id:&amp;nbsp;&lt;STRONG&gt;1079238&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-12-06 at 11.13.05 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/80625iFE08572F41C95F57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-12-06 at 11.13.05 AM.png" alt="Screen Shot 2022-12-06 at 11.13.05 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I clicked the "Get HubSpot API Key" and created a new key.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-12-06 at 11.13.19 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/80626iAC66A6AB330ED0BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-12-06 at 11.13.19 AM.png" alt="Screen Shot 2022-12-06 at 11.13.19 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I redacted most of the key, but left a few characters. I then went to the API Endpoint test page:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-12-06 at 11.30.15 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/80627iD602832088C746B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-12-06 at 11.30.15 AM.png" alt="Screen Shot 2022-12-06 at 11.30.15 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see, I put in the Developer API Key as well as the appId. I clicked "Send Request" and got the error response in the above screenshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 19:32:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cannot-manage-Webhooks-settings-via-the-API/m-p/727384#M59423</guid>
      <dc:creator>haacked</dc:creator>
      <dc:date>2022-12-06T19:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot manage Webhooks settings via the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cannot-manage-Webhooks-settings-via-the-API/m-p/727541#M59429</link>
      <description>&lt;P&gt;It just occurs to me that I may have a fundamental misunderstanding of how HubSpot Webhooks work. I assumed I need to install a webhook for each HubSpot organization that installs our HubSpot integration. But it seems like I only need to install it once for our application and it applies to all orgs that install our integration. Is that correct?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 00:01:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cannot-manage-Webhooks-settings-via-the-API/m-p/727541#M59429</guid>
      <dc:creator>haacked</dc:creator>
      <dc:date>2022-12-07T00:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot manage Webhooks settings via the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cannot-manage-Webhooks-settings-via-the-API/m-p/727999#M59471</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/478205"&gt;@haacked&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; You are correct. The webhook subscriptions will be set in your app. Then they will fire for each portal that installs your app.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for continuing to post your questions here &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 18:38:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cannot-manage-Webhooks-settings-via-the-API/m-p/727999#M59471</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2022-12-07T18:38:50Z</dc:date>
    </item>
  </channel>
</rss>

