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 Access Token

Last updated June 17, 2020

GET /oauth/v1/access-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 an access 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.
Note: HubSpot access tokens will fluctuate in size as we change the information that is encoded the tokens. We recommend allowing for tokens to be up to 300 characters to account for any changes we may make.
Required Parameters How to use Description
Access Token  :token
Used in the request URL
 The access token that you want to get the information for.

Optional ParametersHow to useDescription
None None No optional parameters for this method.