BoldSales

API Documentation

Update a contact

patch/api/v1/contacts/{id}

Updates one or more field values for an existing contact by ID. Supports updating personal information, contact details, preferences, and custom fields.

Code snippet

curl -X 'PATCH' \
  'https://{yourdomain}/api/v1/contacts/{id}' \
  -H 'accept: text/plain; x-api-version=1.0' \
  -H 'x-api-key: {your API key}' \
  -H 'Content-Type: application/json-patch+json; x-api-version=1.0' \
  -d '{
    "data": {
      "jobTitle": "Head of Sales Operations",
      "emailAddresses": [
        {
          "value": "[email protected]",
          "label": "Business",
          "isPrimary": true
        }
      ],
      "cf_preferred_language": {
        "id": 1
      }
    }
}'

Path parameters

idlongRequiredThe unique identifier of the contact to update.

Query parameters

skipValidationbooleanA flag indicating whether to bypass specific validations during contact update. If set to true, the system skips checks for required fields, conditional logic, and field dependencies. When false (or unspecified), all standard validations are applied.

Request body

firstNamestringContact's first name for personal identification.
lastNamestringContact's last name for personal identification.

salutationobject

Salutation or title reference for the contact.

idintegerRequiredUnique identifier of the salutation option.

emailAddressesarray

List of email addresses associated with the contact.

valuestringRequiredThe email address value.
labelstringType or category of the email address (e.g., Business, Personal).
isPrimarybooleanIndicates if this is the primary email address for the contact.

phoneNumbersarray

List of phone numbers associated with the contact.

valuestringRequiredThe actual phone number of the contact.
labelstringType or category of the phone number (e.g., Personal, Business).
isPrimarybooleanIndicates if this is the primary phone number for the contact.
jobTitlestringProfessional job title or position of the contact.

companiesarray

List of companies associated with the contact.

idlongRequiredUnique identifier of the company.
isPrimarybooleanIndicates if this is the primary company association for the contact.

ownerobject

Owner assignment for the contact record.

idintegerRequiredThe unique identifier of the user who owns this contact.
streetstringStreet address of the contact.
citystringCity name in the contact's address.
statestringState or province name in the contact's address.
postalCodestringPostal or ZIP code for the contact's address.
countrystringCountry name in the contact's address.
dateOfBirthstringContact's date of birth in YYYY-MM-DD format.
descriptionstringAdditional notes or description about the contact.

lifecycleStageobject

Current lifecycle stage of the contact.

idintegerRequiredUnique identifier of the lifecycle stage option.
doNotEmailbooleanFlag indicating whether email communication is disabled for this contact.
doNotCallbooleanFlag indicating whether phone communication is disabled for this contact.

originalSourceobject

Original source through which the contact was acquired.

idintegerRequiredUnique identifier of the source option.

latestSourceobject

Most recent source of interaction with the contact.

idintegerRequiredUnique identifier of the latest source option.
latestSourceDatestringDate of the latest source interaction in YYYY-MM-DD format.
linkedInstringLinkedIn profile URL of the contact.
facebookstringFacebook profile URL of the contact.
twitterstringTwitter profile URL of the contact.

cf_preferred_languageobject

Custom field defined for the contact module. Pass a custom field using its API name, which always begins with the cf_ prefix. The value must match the data type configured for the custom field.

idintegerThe unique identifier of the preferred language.

Example response

200 Success

{
  "message": "Contact updated successfully.",
  "data": {
    "id": 1234
  }
}