hubspot-api-integrations

hubspot-api-integrations is a skill for Claude Code, Codex from hamzabellouch/agent-skills. It costs 37 tokens per session (1,649 once invoked), scanned A, original, MIT.

A guide to integrating HubSpot, a customer-relationship management platform, through its version 3 API. It covers authentication, custom records, bulk updates, webhooks, and request limits.

In plain words
What is it for?
Use it when building CRM synchronizations, custom-object integrations, batch record updates, webhook handlers, or rate-limit retries.
Why use it?
It helps applications exchange customer and sales data with HubSpot without failed authentication, excessive requests, or missed events.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when building CRM synchronizations, custom-object integrations, batch record updates, webhook handlers, or rate-limit retries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hamzabellouch/agent-skills/hubspot-api-integrations
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hamzabellouch/agent-skills --skill hubspot-api-integrations
Clone the repo
git clone --depth 1 https://github.com/hamzabellouch/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hubspot-api-integrations

README.md
[![agentmods](https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/hubspot-api-integrations/github.svg)](https://agentmods.dev/skills/hamzabellouch/agent-skills/hubspot-api-integrations)
Your own site
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/hubspot-api-integrations"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/hubspot-api-integrations/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hubspot-api-integrations

Your own site · 80×15
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/hubspot-api-integrations"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/hubspot-api-integrations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,649 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.01649
Opus 5 $0.00018 $0.00825
Sonnet 5 $0.00007 $0.00330
Haiku 4.5 $0.00004 $0.00165

Measured 8d ago against content hash 193dd69f47b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

hubspot-api-integrations scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Enterprise Systems (CRM and ERP)/hubspot-api-integrations/SKILL.md · 179 lines

How it starts

The opening of the file, as written. The whole thing — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.

HubSpot CRM API v3 Integration Architecture

Overview

This skill provides production standards for building enterprise integrations with the HubSpot CRM API v3. It covers OAuth2 authentication, Private App tokens, Custom Objects definition, high-performance batch updates, webhook event processing, and rate limit handling (150 requests/10 seconds bucket).


1. HubSpot Integration Principles

  1. Prefer Batch Endpoints over Single Operations: Use /crm/v3/objects/{objectType}/batch/create and /batch/update to process up to 100 records per API call, minimizing network roundtrips and preserving API quota.
  2. Private App Access Tokens for Single Tenant: Use Private App tokens (Bearer pat-na1-...) for server-to-server internal integrations; use OAuth2 flow only when building multi-tenant integrations for third-party merchants.
  3. Handle Rate Limits with Exponential Backoff: Honor X-HubSpot-RateLimit-Daily-Remaining and X-HubSpot-RateLimit-Interval-Milliseconds. Handle 429 Too Many Requests responses with jittered retry algorithms.
  4. CRM Associations Management: Always explicitly define associations between records (e.g., Contact to Company, Deal to Custom Object) using explicit Association Spec IDs during object creation.
  5. Secure Webhook Verification: Validate the X-HubSpot-Signature-v3 header using the secret client key to verify event authenticity.

2. HubSpot CRM Data Flow Architecture

[ External System / ERP ]
       │
       │ 1. Batch Payload (100 Records / Chunk)
       ▼
[ Middleware / Integration Engine ] ──(Rate Limit Check: 10s Window)
       │
       │ 2. POST /crm/v3/objects/contacts/batch/create
       ▼
[ HubSpot CRM Core Engine ] ──(CRM Associations)──▶ [ Deals / Companies / Custom Objects ]
       │
       │ 3. Webhook Notifications (v3 Signature Verification)
       ▼
[ External Sync Subscriber ]
Integration Pattern Endpoint Prefix Batch Capacity Rate Limit Quota
Contacts API /crm/v3/objects/contacts 100 per call 150 req / 10 sec (Standard)
Companies API /crm/v3/objects/companies 100 per call 150 req / 10 sec
Custom Objects API /crm/v3/schemas / /objects/{type} 100 per call Enterprise Tier Feature
Associations API /crm/v3/associations/{fromType}/{toType}/batch/create 100 per call 150 req / 10 sec

Read the full file on GitHub · 179 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 179 lines · 37 tokens per session scan A 193dd69f47b5

Subscribe to this mod's changes

hubspot-api-integrations is a skill published in the GitHub repository hamzabellouch/agent-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 1,649 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.