# The Companies API v2 is deprecated

HubSpot API deprecated /companies/v2/* without giving a shutdown date yet.

HubSpot deprecated the Companies API v2 without a shutdown date on September 15, 2026. This change impacts calls to /companies/v2/* endpoints, which will eventually fail. HubSpot API stated that these endpoints will move to unsupported status without further bug fixes, reliability improvements, or security updates.

## What to use instead

Move calls to the Companies API on date-based versioning at /crm/objects/2026-09/companies. Note that HubSpot has not finalized every legacy endpoint's date-based replacement yet and documents them in its March 2027 release.

HubSpot has not finalized every legacy endpoint's date-based replacement yet; it documents them in its March 2027 release.

- API: HubSpot API (api.hubapi.com)
- Kind: Version retirement
- Announced: September 15, 2026
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `/companies/v2/*`
- Source: [Announcement](https://developers.hubspot.com/changelog/legacy-apis-and-legacy-apps-whats-going-unsupported-and-when)
- Verified: November 6, 2026, against HubSpot API's own pages
- Page: https://www.okapi.bot/providers/hubspot-api/breaking-changes/the-companies-api-v2-is-deprecated/

## HubSpot API's words

> Endpoints using numbered version paths, /v1/ , /v2/ , and /v3/ , will move to unsupported status. HubSpot will no longer release bug fixes, reliability improvements, or security updates for these versions.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
