What’s the best way to manage and update OpenAPI specifications for HubSpot integrations?
Our integration is built in Go, using a third-party tool to generate client libraries from HubSpot’s published OpenAPI specs.
After a few weeks of mostly successful operation, we’re looking to make the system more robust by automatically updating client libraries when new OpenAPI spec versions are released.
However, I’m uncertain about several points after reviewing the documentation and forum:
- The canonical source for available OpenAPI specs appears to be 2026-03 API reference - HubSpot docs but the v4 CRM Objects API exists without being mentioned there or in developer docs—why is that?
- What’s the difference between the “LATEST” and “STABLE” stages shown in v1/apis? Why is v4 CRM associations listed as STABLE, while v3 is LATEST, when v4 is supposed to be the newest?
- I expected semantic versioning in spec updates, but noticed changes to the OpenAPI specs occurring without the API version (e.g., “v3”) changing.
- Where are spec changes announced, and how can I track when to regenerate client libraries?
- Is it possible to get previous versions of OpenAPI specs, specifically older v3 CRM specs?
- The v4 CRM Associations developer docs describe a “Basic List” endpoint that seems missing from the v4 CRM associations OpenAPI spec. Can someone explain this discrepancy?
- Lastly, I reported a bug, was told it was fixed by support, but the issue has resurfaced without clear communication about what was changed.
Our integration is written in Go, and as such we use a third-party tool to generate client libraries using HubSpot’s published OpenAPI specs. Now that it’s been running (mostly) successfully for a few weeks, we’re ready to build in some additional robustness to our system, such as updating client libraries when updates to the OpenAPI specs become available, and I’ve found a few things that I haven’t been able to answer as a result of reading existing docs and scouring the forum:
1. It seems the canonical place for knowing which OpenAPI specs are available is at 2026-03 API reference - HubSpot docs. But if this is canonical, why does a v4 CRM Objects API: Accounts Dashboard | HubSpot also exist, but is mentioned neither in the endpoint’s response, nor mentioned in the developer API docs?
2. What is the difference between the LATEST and STABLE “stages” included in the response from the v1/apis endpoint mentioned above? In particular, why is the v4 CRM associations API listed as STABLE while the v3 CRM associations API is listed as LATEST? The dev API docs tout the v4 as the newest one.
3. I would expect updates in the OpenAPI specs to be versioned, such as with semantic versioning. However I have observed at least one change to the OpenAPI specs, while the API version remained at “v3”.
4. Are changes to the OpenAPI specs announced any where? How can I find out if I need to regenerate my client libraries?
5. Is it possible to access older versions of OpenAPI specs? Specifically, previous versions of the various v3 CRM OpenAPI specs, not v2, v1, etc.
6. I noted that the v4 CRM Associations dev docs include a “Basic List” endpoint that returns the existing associations between a particular object type/id and another object type. However that endpoint doesn’t exist in the OpenAPI spec for the v4 CRM associations. Why is that?
7. I worked with customer support to get this bug fixed: “OpenAPI Spec Bug” , and I was told it was fixed (although I was not actually told what change was made), but I ran into the same issue recently, so I don’t think it’s actually fixed.
Any insight would be appreciated.
Moderator Note: this post was reviewed for relevancy and optimized for clarity on October 22, 2025. Thank you for your contributions to the HubSpot Community!