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 details for a HubSpot account

Last updated May 15, 2023

GET /integrations/v1/me

Method Details

HTTP Methods:

GET

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

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 private app access token Authorization: Bearer {token} header Used to authenticate the request. Please see this page for more details about authentication.