Skip to content
dimmiDocs

Contacts and companies

Merge a duplicate contact into this one

POST/api/v1/contacts/{contact}/merges

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the contacts:write ability

Path parameters

contactstringrequired

Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts.

Body

application/json
source_idstringrequired

The duplicate contact (ctc_...) to merge into this one.

Minimum length: 1 · Maximum length: 64

Response 200

OK
dataobjectrequired
Show child attributes
avatar_urlstring | nullrequired

URL of the contact's picture. Null when they have none.

blockedbooleanrequired

True when the team has blocked this contact.

companyobjectrequired
Show child attributes
domainstring | nullrequired

The company's web domain, such as acme.com. Null when unknown.

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.

objectstringrequired

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

created_atstringrequired

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

Format: date-time

custom_attributesanyrequired

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

emailstring | nullrequired

The contact's email address. Null when unknown. Not unique: a lead may type any address, so check email_verified.

email_verifiedbooleanrequired

True only when a trusted source proved the email belongs to this contact; an address a lead typed stays false.

external_idstring | nullrequired

The contact's id in your own system. Null when none was given.

first_seen_atstring | nullrequired

When the contact was first seen. Null when never recorded.

Format: date-time

idstringrequired

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

kindstringrequired

How well the contact is known: user when your app identified them (verified token or API), lead for anyone else.

last_seen_atstring | nullrequired

When the contact was last seen. Null when never recorded.

Format: date-time

localestring | nullrequired

The contact's language as a locale code, such as en or pt-BR. Null when unknown.

locationanyrequired

Where the contact is, as a JSON object. Null when unknown.

namestring | nullrequired

The contact's name. Null when unknown.

notesstring | nullrequired

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

objectstringrequired

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

phonestring | nullrequired

The contact's phone number. Null when unknown.

tagsobject[] | nullrequired

The tags on the contact, each with its id and name. Empty in plain lists that do not load tags.

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.

timezonestring | nullrequired

The contact's IANA time zone, such as Europe/Berlin, for reading times in their local time. Null when unknown.

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.