Basic

Create a company

Changed on

Create a single company. Include a properties object to define property values for the company, along with an associations array to define associations with other CRM records.

post/crm/objects/2026-03/companies

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/crm/objects/2026-03/companies
  • Auth
    • HTTP bearer
    • or API key in query parameter hapikey
    • or none

Request body

propertiesobject required

Key-value pairs for setting properties for the new object.

Response

successful operation

archivedboolean required

Whether the object is archived.

archivedAtstring date-time

The timestamp when the object was archived, in ISO 8601 format.

createdAtstring date-time required

The timestamp when the object was created, in ISO 8601 format.

idstring required

The unique ID of the object.

objectWriteTraceIdstring

An identifier used for tracing the write request for the object.

propertiesobject required

Key-value pairs representing the properties of the object.

propertiesWithHistoryobject

Key-value pairs representing the properties of the object along with their history.

updatedAtstring date-time required

The timestamp when the object was last updated, in ISO 8601 format.

urlstring

The URL associated with the object.

Changes

    • info

      api operation id post-/crm/objects/2026-03/companies_create removed and replaced with post-/crm/objects/2026-03/companies

    • info

      api operation id post-/crm/objects/2026-03/companies_/crm/objects/2026-03/companies removed and replaced with post-/crm/objects/2026-03/companies_create

Some revisions have not been checked yet.