<?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: How to use API in calling-extension app in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-use-API-in-calling-extension-app/m-p/1063373#M77836</link>
    <description>&lt;P&gt;Hey, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/688611"&gt;@JeroenCloudCTI&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; I hope you got this worked out. Here are some OAuth resources just in case:&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;&lt;A href="https://developers.hubspot.com/beta-docs/guides/apps/authentication/working-with-oauth" target="_blank"&gt;Working with OAuth&lt;/A&gt;&lt;/LI&gt;
 &lt;LI&gt;&lt;A href="https://developers.hubspot.com/beta-docs/guides/apps/authentication/oauth-quickstart-guide" target="_blank"&gt;OAuth quickstart guide&lt;/A&gt; (if you want to set up a quick test to get a feel for how the auth flow works)&lt;/LI&gt;
 &lt;LI&gt;&lt;A href="https://developers.hubspot.com/beta-docs/guides/api/app-management/oauth/tokens" target="_blank"&gt;Managing Tokens&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2024 16:11:47 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2024-10-31T16:11:47Z</dc:date>
    <item>
      <title>How to use API in calling-extension app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-use-API-in-calling-extension-app/m-p/1062131#M77772</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Sorry if this kind of question has already been answered, but I have just not been able to summarize this enough to search for it effectively&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For context: I'm working on a calling app following the &lt;A href="https://developers.hubspot.com/beta-docs/guides/api/crm/extensions/calling-sdk" target="_blank" rel="noopener"&gt;calling extensions SDK&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue I'm facing is how I'm supposed to call API's from, for instance, a contact page where this app can be opened.&lt;BR /&gt;From what I understand, the initial access token can &lt;EM&gt;only&lt;/EM&gt; be generated using the code produced after installing. That means that once acquired, it must be carefully stored somewhere, alongside the refresh token. HubSpot forces you to use your own server to make API calls to them, so it comes natural that access tokens would be stored there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, if I want to, say, request a contact via API call, I'd need an access token, or ask my server to give me a token or call the API itself for me. However, the app has no way of identifying which user is using it, as I couldn't find a HubSpot user Id or similar. The server also has no way of knowing which user is paired with which generated access token, as the instalation seems to have no way of passing this information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are already so many HubSpot apps out there, so I'm sure I'm simply missing something here, could anyone help me out?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 15:53:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-use-API-in-calling-extension-app/m-p/1062131#M77772</guid>
      <dc:creator>JeroenCloudCTI</dc:creator>
      <dc:date>2024-10-29T15:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to use API in calling-extension app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-use-API-in-calling-extension-app/m-p/1063373#M77836</link>
      <description>&lt;P&gt;Hey, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/688611"&gt;@JeroenCloudCTI&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; I hope you got this worked out. Here are some OAuth resources just in case:&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;&lt;A href="https://developers.hubspot.com/beta-docs/guides/apps/authentication/working-with-oauth" target="_blank"&gt;Working with OAuth&lt;/A&gt;&lt;/LI&gt;
 &lt;LI&gt;&lt;A href="https://developers.hubspot.com/beta-docs/guides/apps/authentication/oauth-quickstart-guide" target="_blank"&gt;OAuth quickstart guide&lt;/A&gt; (if you want to set up a quick test to get a feel for how the auth flow works)&lt;/LI&gt;
 &lt;LI&gt;&lt;A href="https://developers.hubspot.com/beta-docs/guides/api/app-management/oauth/tokens" target="_blank"&gt;Managing Tokens&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 16:11:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-use-API-in-calling-extension-app/m-p/1063373#M77836</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-10-31T16:11:47Z</dc:date>
    </item>
  </channel>
</rss>

