# HubSpot API Sunset Fix (Pipelines v1 ends Dec 4, 2026): Find Every Legacy v1-v4 Call, Move to 2026-09, Prove It

> Scans your code for HubSpot APIs with published end dates, ranks each by deadline, migrates it to the 2026-09 API and proves the fix with a re-scan and test calls.

HubSpot API Sunset Fix (Pipelines v1 ends Dec 4, 2026): Find Every Legacy v1-v4 Call, Move to 2026-09, Prove It is a paid AI agent skill on Agensi by Hamza Alayed, in Business & Operations. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $1 (one-time purchase)
- Creator: [Hamza Alayed](https://www.agensi.io/creators/hamza-alayed)
- Category: [Business & Operations](https://www.agensi.io/skills/business-operations)
- Version: 1.0
- Last updated: 2026-11-24
- Security: scan passed (2026-11-24); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/hubspot-api-sunset-fix-pipelines-v1-ends-dec-4-2026-find-every-legacy-v1-v4-call-move-to-2026-09-prove-it
- Tags: apis-backend, code-quality-review, devops-cloud, business-operations, sales-lead-gen

## About this skill

HubSpot is retiring its old API versions in stages, and the first deadline is close: **Pipelines API v1 stops on 4 December 2026**. After that, design manager serverless functions (`/_hcms/api/`) stop running on 1 February 2027, v4 APIs become unsupported in March 2027, and every v1, v2 and v3 endpoint follows in September 2027.

This skill turns your agent into a migration auditor for HubSpot integrations:

- **Finds every legacy call** with a bundled, standard-library Python scanner (no network): Pipelines v1, `hapikey` auth, `/_hcms/api/` functions, v4 and v1-v3 endpoints, stale `2025-09` versions, and developer projects on blocked platform versions.
- **Ranks by real deadline** (CRITICAL / HIGH / MEDIUM / INFO), with every date taken from HubSpot's own changelog and checked on 24 Nov 2026, including the conflicting Pipelines v1 date HubSpot publishes on two pages.
- **Adds runtime evidence**: reconciles the code scan with HubSpot's in-app Migrations tab so SDK calls and URLs built at runtime aren't missed.
- **Maps each call to 2026-09** using verified paths (the version segment moves: `/crm/v3/objects/contacts` becomes `/crm/objects/2026-09/contacts`) and marks anything without a 2026-09 equivalent as BLOCKED instead of inventing a path.
- **Covers the 2026-09 behaviour changes** that break code after the URL swap: write validation (`MISSING_REQUIRED_PROPERTY`, `MISSING_CONDITIONAL_REQUIRED_PROPERTY`), pipeline-delete blocking (`STAGE_ID_IN_USE`), datetime `warnings`, and Node.js 24 handlers.
- **Proves each fix** with four checks (re-scan, contract test, validation test, runtime re-check) and writes `HUBSPOT_SUNSET_AUDIT.md` with a BROKEN / AT RISK / SAFE verdict.

Works on any stack that calls HubSpot: Laravel/PHP, Node/TypeScript, Python, Ruby, Go, plus HubSpot CMS themes and developer projects.

## Requires

- Python 3.8+
- Access to the repository
- Optional: HubSpot account access

HubSpot account access is only needed for the runtime check (Migrations tab) and live contract tests; the static audit and fixes work without it.

## Known limitations

Static scanning can't see API versions inside HubSpot SDKs or URLs assembled at runtime; the skill compensates with HubSpot's in-app Migrations tab, which needs account access. Some v1/v2 endpoints have no published 2026-09 equivalent yet; these are reported as BLOCKED, not migrated. Workflow custom code actions and third-party connectors (Zapier, Make) live outside your repo and are listed for manual review. Deadlines were verified on 24 Nov 2026; HubSpot can change them, and the skill tells the agent to re-check if it's used more than 60 days later. It doesn't audit portal configuration (properties, workflows) or migrate data.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the HubSpot API Sunset Fix (Pipelines v1 ends Dec 4, 2026): Find Every Legacy v1-v4 Call, Move to 2026-09, Prove It skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What exactly does it check?

Pipelines API v1 calls, hapikey auth, design manager /_hcms/api/ serverless functions, v4 and v1-v3 endpoints, date-based 2025-09 versions (including in config), developer projects on blocked platformVersions, pipeline deletes affected by 2026-09 validation, and HubSpot SDK dependencies whose API version needs checking.

### How current are the dates?

Every deadline was checked against HubSpot's developer changelog and docs on 24 Nov 2026, with source URLs in reference/deadlines.md. Where HubSpot publishes conflicting dates (Pipelines v1: 4 Dec vs 2 Nov 2026), both are shown. If you use the skill more than 60 days later, it tells the agent to re-check.

### Does it just rewrite /v3/ to /2026-09/?

No. The version segment moves position, and some endpoints change request or response shape. The skill marks each target as verified, candidate or look-up, requires checking the docs version dropdown, and marks endpoints with no 2026-09 equivalent as BLOCKED instead of guessing.

### Do I need to give it my HubSpot token?

No. The static audit and code fixes need only the repo. A token or test account is optional and only used for live contract tests and the runtime check; the skill never prints or stores it.

### How is this different from asking an AI model directly?

General models predate HubSpot's 2026 versioning changes and tend to suggest v3 paths or miss the 2026-09 behaviour changes. This skill ships dated facts, a tested scanner with CI-friendly exit codes, and a fixed report format that won't mark anything FIXED without evidence.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
