Create a HubSpot custom object schema and insert records via API

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

Steps

  1. Define the schema by POSTing to /crm/v3/schemas with a JSON body including name, labels, primaryDisplayProperty, and a properties array defining each custom property
  2. Record the fullyQualifiedName and objectTypeId from the response — you will use these in subsequent API calls
  3. Insert records by POSTing to /crm/v3/objects/{objectTypeId} with a properties map matching the schema you defined
  4. Associate custom object records with standard objects (e.g., contacts) using the Associations v4 API and the correct association type IDs
  5. To update the schema later (add properties), POST to /crm/v3/schemas/{objectType}/properties

Known gotchas

Related routes

Create a HubSpot custom object schema using the CRM Objects Schemas API and define properties, associations, and labels
developers.hubspot.com · 6 steps · unrated
Perform CRUD operations on HubSpot custom object records using the CRM Objects API
developers.hubspot.com · 6 steps · unrated
Define and query a HubSpot custom object schema with associations to contacts and use the CRM API to read associated records
developers.hubspot.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ 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