HubSpot Timeline Events Access and Refresh Tokens

You need

  • A developer account
  • An app in the developer account

Process: OAth 2.0 Authorization Code grant type

  1. Create the authorization url
    • https://app.hubspot.com/oauth/authorize?client_id={client_id}&scope={scopes}&redirect_uri={redirect_uri}
  2. App opens a browser window to send the user to the HubSpot OAuth 2.0 server
  3. User grants app access
  4. User redirected to the app with an authorization code
  5. App send a request to the OAuth2.0 server to exchange authorization code for an access token

Step By STep