/hubspot-admin:audit-api-usagefrom hubspot-admin
Inventories HubSpot API callers (integrations, service keys, legacy private apps, internal scripts) and flags legacy v1-v4 endpoints ahead of 2027 cutoffs. Produces a migration checklist to date-based API versions and service keys.
Ships in hubspot-admin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
In March 2026 HubSpot replaced semantic API versioning (v1-v4) with date-based versions (/2026-09/-style paths, two releases a year, at least 18 months of support each). Two clocks are now running: v4 loses support on March 30, 2027, and v1-v3 are already unsupported, with enforcement in September 2027. Separately, HubSpot is retiring legacy private apps in favor of service keys. This skill inventories what in your stack calls HubSpot and produces a migration checklist for both.
The deadline fails quietly: unsupported APIs "no longer receive updates, bug fixes, or stability guarantees," and marketplace apps that don't migrate risk losing certification. A portal typically has more callers than anyone remembers — service keys, legacy private apps, marketplace apps, middleware (Zapier/Make), form embeds, internal scripts, data warehouse syncs. Finding them takes an afternoon now or an incident later.
| Fact | Detail |
|---|---|
| Current version | 2026-09 (for example /crm/objects/2026-09/contacts) |
| Release cadence | March and September, every year; each version is immutable |
| Support lifecycle | At least 18 months per version |
| v4 end of support | March 30, 2027 |
| v1-v3 status | Unsupported since September 15, 2026 (no bug fixes, reliability, or security updates); enforcement September 2027 |
| Legacy private apps | Creation disabled October 26, 2026 for existing accounts (September 28, 2026 for new ones). Existing apps keep working and must migrate by September 2027 |
| Replacement for private apps | Service keys (Settings > Integrations > Service Keys): bearer tokens for REST calls, no webhooks |
| Also deprecated | Legacy v1 OAuth API (token issuance/introspection) |
Behavior change in 2026-09 | CRM writes enforce admin-configured required and conditionally required properties, returning HTTP 400 where v3 accepted the write |
Sources: HubSpot developer changelog, "Introducing date-based API versioning" (2026-03-30), "Deprecating support for HubSpot v4 APIs" (2026-05-21), "Legacy private app creation sunset" (2026-08-27), and "Legacy APIs and legacy apps: what's going unsupported and when" (2026-09-15). Re-check these before quoting dates to stakeholders; HubSpot has moved sunset dates before.
HUBSPOT_ACCESS_TOKEN in .env) for the account-level usage queryConfirm with the user: which systems are known to touch HubSpot (CRM syncs, website forms, analytics pipelines, internal scripts), and who owns each.
Work through each discovery source and record every caller in a checklist (owner, what it does, endpoints/versions used):
/crm/v3/..., /contacts/v1/...), which reveal the version in use. Record every legacy private app as a migration item in its own right, whatever endpoints it calls.grep -rEn "api\.hubapi\.com/[a-z-]+/v[0-9]|/contacts/v1|/email/public/v1|hubapi.com/automation/v[23]" .
resp = requests.get(f"{BASE}/account-info/v3/api-usage/daily", headers=HEADERS)
This confirms how much traffic flows, not which versions — use the per-app logs from step 1 for version detail.For every caller, classify:
| Status | Meaning | Action |
|---|---|---|
| Red | Calls v1/v2 legacy endpoints (e.g., /contacts/v1/, /email/public/v1/, forms v2) or legacy OAuth v1 | Migrate now. Many of these have already been shut off (Contact Lists v1 returns 404 since April 30, 2026; Pipelines v1 sunsets December 4, 2026) |
| Amber (v4) | Calls /v4/ endpoints, such as /automation/v4/flows or /crm/v4/ associations | Supported until 2027-03-30; migrate to date-based paths before then |
| Amber (v3) | Calls /v3/ endpoints | Already unsupported, still working; migrate to 2026-09 date-based paths before September 2027 |
| Amber (app) | Runs on a legacy private app token, whatever it calls | Move to a service key before September 2027 |
| Green | Calls date-based paths with a service key or a projects-based app, or vendor-managed and confirmed migrating | Monitor |
For amber/red internal code, the migration is usually mechanical: same resources, new path shape (/crm/v3/objects/contacts becomes /crm/objects/2026-09/contacts) and sometimes renamed fields. HubSpot's migration guide says many v3 contracts carry over unchanged but not all, so test each endpoint rather than assuming. Batch the work per codebase, not per endpoint.
Test writes in particular. From 2026-09, a create or update that omits a property an admin marked required is rejected with MISSING_REQUIRED_PROPERTY or MISSING_CONDITIONAL_REQUIRED_PROPERTY. An integration that wrote sparse records through v3 will start failing after migration unless it sends those properties.
This repo's own scripts are amber: they target /crm/v3/, /marketing/v3/, and /automation/v4/. They work today, and they are on the migration list in CONTRIBUTING.md like everyone else's.
Read-only — nothing to roll back.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
40 skills in this plugin
/assign-unowned-contactsAssign an owner to marketing contacts that have no owner. Ensures every marketable contact has accountability for follow-up, proper lead routing, and accurate owner-based reporting./backfill-geo-dataEnrich missing geographic data (country, state, city) on contacts and companies using HubSpot workflows, external data providers, or IP-based geolocation./bounce-monitoring-workflowBuild a workflow to protect sender reputation through automated bounce monitoring. Auto-suppresses contacts above a configurable bounce threshold, alerts on hard bounces, and flags high-bounce contacts for weekly manual review./build-lead-scoringCreate a comprehensive lead scoring model with separate Fit and Engagement scores using HubSpot's new Lead Scoring tool. Replaces the deprecated HubSpot Score property./build-smart-listsCreate foundational segmented lists for marketing and sales operations via the Lists API, plus advanced UI-built segments: a master sendable list, ICP-based lists, persona lists, and engagement lists. All active (dynamic) lists./cleanup-dashboardsAudit and consolidate HubSpot reporting dashboards. Identifies unused, duplicate, or outdated dashboards. Must be performed manually — no dashboard API is available.npx claudepluginhub tomgranot/hubspot-admin-skills --plugin hubspot-adminOther plugins' skills for the same job