Contacts

Update a contact

Updates an existing contact by ID using the same upsert logic as POST /api/contacts. The _id is taken from the URL — any _id in the body is ignored.

Accepts the same native or legacy body formats as POST /api/contacts. Returns the updated, enriched contact.

post/api/contacts/{contactId}

Request

Path parameters

contactIdstring required

The contact's _id.

Request body

firstnamestring
lastnamestring
typeIdstring

Contact type ID.

contactTypestring

Contact type name (alternative to typeId).

isCompanyboolean
titlestring
companystring
imageUrlstring

Absolute URL to a JPG or PNG photo.

customFieldsobject

Map of custom field ID to value.

Response

Updated contact.

_idstring

MongoDB ObjectId of the contact.

uuidstring
firstnamestring
lastnamestring
fullNamestring

Computed display name (first + last, or company name for org records).

duogramstring

Two-letter initials derived from first and last name.

photoIdstring nullable
imageUrlstring nullable

CDN thumbnail URL for the contact's photo, or null if none.

emailstring
phonestring
typeIdstring
companyIdstring
addressobject
titlestring
alertsobject[]
companystring

Company name — populated when isCompany is true.

isCompanyboolean

Changes

No recorded changes to this operation across all 1 revision of this API.