Companies
Organizations / accounts that contacts and deals belong to.
Create a company
Create a company (account). `name` is required; all other fields — domain, industry, revenue, account type, mailing address, social URLs, assignment (owner, team, primary contact), and custom fields — are optional. Set custom fields via `custom_fields`, keyed by field name or id. Some inputs are renamed in the response (e.g. `type` → `account_type`); see the [field-mapping guide](/guides/field-mapping).
Create or update a company
Create a company, or update the existing one when a matching `id` is supplied in the body. The response `status` field reports whether the record was `created` or `updated`.
Search / list companies
Search / list companies
Get a company
Fetch a single company (account) by id. Use the optional `fields` query parameter to return only the properties you need.
Update a company (partial)
Update a company (partial)
Delete a company
Delete a company
Associate a contact with a company
Associate a contact with a company (account). The first contact added to a company becomes its
Set a company's primary contact
Set an already-associated contact as the company's primary contact (a plain account update with