Skip to content
dimmiDocs

Contacts and companies

Update a company

PATCH/api/v1/companies/{company}

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the contacts:write ability

Path parameters

companystringrequired

Id of the company, starting with cmp_, such as cmp_01jx2m8k4t. Find it with GET /companies.

Body

application/json
add_tagsstring[] | null

Tag ids or names to add; a new name becomes a tag. 50 at most.

Maximum items: 50

custom_attributesobject

Values by key, merged into what the company has. null removes a key.

domainstring

A domain name, such as example.com.

external_idstring

Your own system's id of this record, such as user_8421.

namestring

The name of the company.

notesstring

Team-only notes, 10,000 characters at most, replacing the current notes.

Maximum length: 10000

remove_tagsstring[] | null

Ids of tags (tag_...) to remove.

Maximum items: 50

Response 200

OK
dataobjectrequired
Show child attributes
created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

custom_attributesanyrequired

The company's custom attributes as an object of names and values, such as {"plan": "pro"}. An empty object when it has none.

domainstring | nullrequired

The company's web domain, such as acme.com, used to match it when it has no external id. Null when unknown.

external_idstring | nullrequired

The company's id in your own system, unique within the workspace. Null when none was given.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

namestringrequired

The company's name.

notesstring | nullrequired

Free-text notes the team keeps about the company. Null when there are none.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

people_countinteger

How many contacts belong to the company. Given only in lists; absent when one company is read.

Format: int64

tagsobject[] | nullrequired

The tags on the company, each with its id and name.

Show child attributes
colorstring | nullrequired

The tag's color as a hex value, such as #ff5500, kept as the workspace wrote it; null when it has none.

iconstring | nullrequired

Name of the tag's icon; null when it has none.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

namestringrequired

The tag's name.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

updated_atstringrequired

When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.