There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API Keys are being deprecated and are no longer supported. Continued use of HubSpot API Keys is a security risk to your account and data. Your API Keys could be deactivated at any time after Nov. 30th, and we recommend that you migrate to Private Apps as soon as possible so you do not lose business-critical functionality.

Get details for a HubSpot account

Last updated June 17, 2020

GET /integrations/v1/me

Method Details

HTTP Methods:


Response Format:


Requires Authentication?


Rate Limited?





Marketing & CRM

This endpoint uses an API key or access token to get details for a HubSpot account.

Use case for this endpoint: This endpoint would be useful to discover which HubSpot account an OAuth access token is assigned to.

Response details

Returns the Portal ID (often called the Hub ID), time zone setting, and selected currency of the account.

Required parameters How to use Description
OAuth Access Token or API Key Authorization: Bearer {token} header
or hapikey={key} query parameter.
Used to authenticate the request. Please see this page for more details about authentication.