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.
We want to make it even easier to discover and experiment with the next generation of HubSpot product releases.Whenever you see the “preview” tag anywhere on the developer site, you are encountering a pre-release feature, API, or endpoint. Items with a "preview" tag should be considered a non-stable release that will be subject to bugs and breaking changes while under development. Please take this into account as you build against a release.