There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API keys are no longer a supported authentication method for accessing HubSpot APIs. Instead, you should use a private app access token or OAuth to authenticate API calls. Learn more about this change and how to migrate an API key integration to use a private app instead.

Get Information for OAuth 2.0 Refresh Token

Last updated June 17, 2020

GET /oauth/v1/refresh-tokens/:token

Method Details

HTTP Methods:

GET

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing & CRM

Get the meta data for a refresh token.  This can be used to get the email address of the HubSpot user that the token was created for, as well as the Hub ID that the token is associated with.
Required Parameters How to use Description
Refresh Token  :token
Used in the request URL
 The refresh token that you want to get the information for.

Optional Parameters How to use Description
None None No optional parameters for this method.
 
Note: For a more elaborate walkthrough on initiating Oauth, visit this link.