CRM and marketing automation API for reading and writing contacts, companies, and deals. Best for workflows that need to sync customer records from other systems, create contacts from form submissions, or pull pipeline data into reports. Unlike Salesforce, HubSpot APIs are self-serve and free-tier-accessible, so they fit lightweight automation without enterprise contracts. 10 example endpoints available through Lava’s AI Gateway. See the HubSpot API docs for full documentation.Documentation Index
Fetch the complete documentation index at: https://lava.so/docs/llms.txt
Use this file to discover all available pages before exploring further.
This is a catch-all provider — any valid URL under
https://api.hubapi.com is supported. Any HubSpot API endpoint. Common paths: /crm/v3/objects/contacts, /crm/v3/objects/companies, /crm/v3/objects/deals. Construct URL as https://api.hubapi.com/{path}. See https://developers.hubspot.com/docs/api-reference for full reference. The endpoints below are curated examples.Endpoints
List contacts. Supports limit, after (pagination cursor), properties, associations.
GEThttps://api.hubapi.com/crm/v3/objects/contacts?limit=100&properties=email,firstname,lastname — Free
- SDK
- cURL
Retrieve a single contact by ID.
GEThttps://api.hubapi.com/crm/v3/objects/contacts/{contact_id}?properties=email,firstname,lastname — Free
- SDK
- cURL
Create a new contact record.
POSThttps://api.hubapi.com/crm/v3/objects/contacts — Free
- SDK
- cURL
Update an existing contact. Only properties in the request body are modified.
PATCHhttps://api.hubapi.com/crm/v3/objects/contacts/{contact_id} — Free
- SDK
- cURL
Search contacts with filter groups. Use for email lookups, recent activity, or custom property matching.
POSThttps://api.hubapi.com/crm/v3/objects/contacts/search — Free
- SDK
- cURL
List companies with pagination and property selection.
GEThttps://api.hubapi.com/crm/v3/objects/companies?limit=100&properties=name,domain,industry — Free
- SDK
- cURL
List deals in the pipeline.
GEThttps://api.hubapi.com/crm/v3/objects/deals?limit=100&properties=dealname,amount,dealstage,closedate — Free
- SDK
- cURL
Create a new deal in a specified pipeline and stage.
POSThttps://api.hubapi.com/crm/v3/objects/deals — Free
- SDK
- cURL
Archive (soft-delete) a contact by ID. HubSpot retains the record for 90 days in case of recovery.
DELETEhttps://api.hubapi.com/crm/v3/objects/contacts/{contact_id} — Free
- SDK
- cURL
Create or replace an association between two CRM objects (e.g. contact ↔ company).
PUThttps://api.hubapi.com/crm/v3/objects/contacts/{contact_id}/associations/companies/{company_id}/{association_type_id} — Free
- SDK
- cURL
Next Steps
All Providers
Browse all supported AI providers
Forward Proxy
Learn how to construct proxy URLs and authenticate requests