<?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: /oauth/v1/access-tokens errors with private app access token in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/oauth-v1-access-tokens-errors-with-private-app-access-token/m-p/618041#M52505</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/188510"&gt;@IntegrationDev&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is not an equivalent endpoint for private apps, yet.&amp;nbsp;&amp;nbsp; Presently, the only way to see the scopes is through the UI.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest creating an &lt;A href="https://community.hubspot.com/t5/Ideas/ct-p/ideas" target="_blank"&gt;idea&lt;/A&gt; and posting the idea link on this thread for anyone else looking for this functionality to upvote it.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Apr 2022 14:09:30 GMT</pubDate>
    <dc:creator>dennisedson</dc:creator>
    <dc:date>2022-04-19T14:09:30Z</dc:date>
    <item>
      <title>/oauth/v1/access-tokens errors with private app access token</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/oauth-v1-access-tokens-errors-with-private-app-access-token/m-p/615090#M52426</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to use the v1 &lt;A href="https://legacydocs.hubspot.com/docs/methods/oauth2/get-access-token-information" target="_blank" rel="noopener"&gt;Get Information for OAuth 2.0 Access Token&lt;/A&gt; API with a private app token, the API errors.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;GET https://api.hubapi.com/oauth/v1/access-tokens/pat-{rest of token here}

400 Bad Request
{
	"status": "error",
	"message": "The access token must have the correct format",
	"correlationId": "{correlation ID here}"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what's going on here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ultimately, what I'm trying to do is get the list of scopes associated with the currently being used private app (i.e. the private app's access token is being used to authenticate the current request). If using the above API won't work with private app access tokens, is there an alternate way to get the currently applicable scopes? I'm trying to wire in a way for my integration to adapt what does based on the access it has to HubSpot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 13:23:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/oauth-v1-access-tokens-errors-with-private-app-access-token/m-p/615090#M52426</guid>
      <dc:creator>IntegrationDev</dc:creator>
      <dc:date>2022-04-14T13:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: /oauth/v1/access-tokens errors with private app access token</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/oauth-v1-access-tokens-errors-with-private-app-access-token/m-p/618041#M52505</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/188510"&gt;@IntegrationDev&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is not an equivalent endpoint for private apps, yet.&amp;nbsp;&amp;nbsp; Presently, the only way to see the scopes is through the UI.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest creating an &lt;A href="https://community.hubspot.com/t5/Ideas/ct-p/ideas" target="_blank"&gt;idea&lt;/A&gt; and posting the idea link on this thread for anyone else looking for this functionality to upvote it.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 14:09:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/oauth-v1-access-tokens-errors-with-private-app-access-token/m-p/618041#M52505</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2022-04-19T14:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: /oauth/v1/access-tokens errors with private app access token</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/oauth-v1-access-tokens-errors-with-private-app-access-token/m-p/618910#M52535</link>
      <description>&lt;P&gt;Thank you, &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Idea created. Here's the link: &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/Parity-Between-OAuth2-and-Private-App-Tokens-quot-Get/idi-p/618909#M110139" target="_blank" rel="noopener"&gt;https://community.hubspot.com/t5/HubSpot-Ideas/Parity-Between-OAuth2-and-Private-App-Tokens-quot-Get/idi-p/618909#M110139&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 13:40:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/oauth-v1-access-tokens-errors-with-private-app-access-token/m-p/618910#M52535</guid>
      <dc:creator>IntegrationDev</dc:creator>
      <dc:date>2022-04-20T13:40:37Z</dc:date>
    </item>
  </channel>
</rss>

