Perform CRUD operations on HubSpot custom object records using the CRM Objects API

domain: developers.hubspot.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create a record with POST /crm/v3/objects/{customObjectType} supplying a properties object with key-value pairs matching the custom object schema property names
  2. Read a record with GET /crm/v3/objects/{customObjectType}/{recordId}?properties=prop1,prop2 specifying which properties to return in the response to avoid retrieving the full property set
  3. Update a record with PATCH /crm/v3/objects/{customObjectType}/{recordId} supplying only the properties that need to change; unspecified properties retain their current values
  4. Delete (archive) a record with DELETE /crm/v3/objects/{customObjectType}/{recordId}; the record is soft-deleted and excluded from searches but can be restored
  5. Search for records using POST /crm/v3/objects/{customObjectType}/search with filterGroups to apply conditions on property values and return paginated results
  6. Upsert records using the batch upsert endpoint POST /crm/v3/objects/{customObjectType}/batch/upsert with an idProperty field to match on a unique property instead of the HubSpot internal ID

Known gotchas

Related routes

Create a HubSpot custom object schema and insert records via API
developers.hubspot.com · 5 steps · unrated
Merge two HubSpot CRM records of the same object type via API
developers.hubspot.com · 5 steps · unrated
Create a HubSpot custom object schema using the CRM Objects Schemas API and define properties, associations, and labels
developers.hubspot.com · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans