DeprecatrAI

v4

Released 2022-11-17Active
Migration Effort
Medium
Estimated Hours
~16h
Primary risk if skipped: Service disruption due to reliance on removed legacy APIs or changed authentication flows.

Breaking Changes2

endpointCriticalCRMMarketing HubSales HubService Hub

Public Legacy APIs

Several public legacy APIs were removed. This impacts integrations still relying on older endpoints that have been superseded by newer, more robust versions. Developers must migrate to the current API versions to maintain functionality.

Before
Calls to legacy endpoints like /forms/v2/forms and /files/v3/files.
After
Calls to updated endpoints like /forms/v2/definitions and POST /crm/v3/objects/files.

Update all calls to legacy endpoints to their current, documented replacements.

authMediumCore

OAuth Scopes in Token Response

The `scopes` property was removed from the OAuth token response. This change was made to reduce the size of the token response and align with best practices. Applications should no longer rely on parsing scopes from the token response.

Before
OAuth token response includes a `scopes` array.
After
OAuth token response no longer includes the `scopes` array.

Fetch scopes separately using the `GET /oauth/v1/access-token/{token}` endpoint if needed.

  1. 1Identify and document all legacy HubSpot API endpoints currently used in your integration.
  2. 2Review the HubSpot API v4 documentation for replacements to identified legacy endpoints.
  3. 3Update integration code to call the new, non-deprecated endpoints for all legacy API interactions.
  4. 4If your integration relies on OAuth scopes from the token response, update it to fetch scopes separately.
  5. 5Test all updated API interactions thoroughly in a staging environment.
  6. 6Deploy the updated integration to production.
  7. 7Monitor integration performance and error logs post-deployment to confirm successful migration.

Never get blindsided by an API change again

Deprecatr AI monitors 150+ providers, maps changes to your codebase, and delivers migration checklists before your team hits a breaking change.

Join the Waitlist