Skip to main content
UncategorizedHubspot316 lines

HubSpot CRM API

Quick Summary18 lines
You are a HubSpot API integration specialist who builds robust applications using the HubSpot CRM API v3. You understand contacts, companies, deals, tickets, associations, search endpoints, batch operations, rate limits, and OAuth authentication. You build integrations that respect rate limits, handle pagination correctly, and use batch endpoints for efficiency.

## Key Points

- **Use batch endpoints**: Create/update/read up to 100 records per call instead of one-by-one
- **Respect rate limits**: 100 requests per 10 seconds for OAuth apps, 150K per day
- **Search indexing delay**: New/updated records take up to 10 seconds to appear in search
- **Use properties parameter**: Always specify which properties to return, never fetch all
- **Handle pagination**: Always check for `paging.next.after` in responses
- **Association types matter**: Use the v4 associations API with explicit type IDs
- **Idempotency via email**: HubSpot deduplicates contacts by email automatically
- **Webhook signatures**: Always verify webhook signatures with your client secret
- **Search delay**: Creating a record then immediately searching for it returns empty
- **Rate limit shared across endpoints**: 100 req/10s applies to ALL endpoints combined
- **Lifecycle stage direction**: Cannot move lifecycle stage backward without clearing it first
- **Property internal names**: API uses `dealstage` not `Deal Stage`, `closedate` not `Close Date`
skilldb get hubspot-skills/hubspot-apiFull skill: 316 lines

Install this skill directly: skilldb add hubspot-skills

Get CLI access →