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.

Developer API keys

Your developer API key is used when managing settings related to your HubSpot apps through the API. This would include managing subscriptions for the Webhooks API, creating or updating event types for the Timeline API, or managing the settings for the Ecommerce Bridge.

Note: Developer API keys can only be used for managing those settings. Developer API keys cannot be used for accessing the data APIs, such as the Contacts API. You must use the API key from a specific account to access the data for that account. If you are looking to test the data APIs, you can create a test account, and get the API key from that test account.

Your developer API key can be found inside your HubSpot developer account, by clicking the Get HubSpot API key button at the top of the Applications dashboard.


This will open a window that will let you get your developer API key and your user ID.


As an additional layer of security, you will need to click the "Show key" button to display the key.

If your developer API key is compromised, you can deactivate the current key and generate a new one using the Regenerate key button at the bottom of the popup window.