Auth - OAuth Collection

Number of APIs: 4

OAuth is a secure means of authentication that uses authorization tokens rather than a password to connect your app to a user account. Initiating OAuth access is the first step towards allowing users to install your app in their HubSpot accounts.

Please note:

  • any app designed for installation by multiple HubSpot accounts or listing on the App Marketplace must use OAuth.
  • users installing apps in their HubSpot account must either be a super admin or have App Marketplace Access permissions.
  • The OAuth Quickstart Guide will get you up and running with a working example app.
  • This HubSpot Academy tutorial provides a quick introduction on using OAuth with HubSpot, including a breakdown of the HubSpot-OAuth flow and how to refresh an access token.

Fork the collection using Run in Qodex:

Run In Qodex

  1. oauth-v1-access-tokens-{token} - get-/oauth/v1/access-tokens/{token} get GET {{baseUrl}}/oauth/v1/access-tokens/:token

  2. oauth-v1-refresh-tokens-{token} - get-/oauth/v1/refresh-tokens/{token} get GET {{baseUrl}}/oauth/v1/refresh-tokens/:token

  3. oauth-v1-refresh-tokens-{token} - delete-/oauth/v1/refresh-tokens/{token} archive DELETE {{baseUrl}}/oauth/v1/refresh-tokens/:token

  4. oauth-v1-token - post-/oauth/v1/token create POST {{baseUrl}}/oauth/v1/token