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
| idlongRequired | The unique identifier of the contact to update. |
Query parameters
| skipValidationboolean | A 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
| firstNamestring | Contact's first name for personal identification. | ||||||
| lastNamestring | Contact's last name for personal identification. | ||||||
salutationobject | Salutation or title reference for the contact.
| ||||||
emailAddressesarray | List of email addresses associated with the contact.
| ||||||
phoneNumbersarray | List of phone numbers associated with the contact.
| ||||||
| jobTitlestring | Professional job title or position of the contact. | ||||||
companiesarray | List of companies associated with the contact.
| ||||||
ownerobject | Owner assignment for the contact record.
| ||||||
| streetstring | Street address of the contact. | ||||||
| citystring | City name in the contact's address. | ||||||
| statestring | State or province name in the contact's address. | ||||||
| postalCodestring | Postal or ZIP code for the contact's address. | ||||||
| countrystring | Country name in the contact's address. | ||||||
| dateOfBirthstring | Contact's date of birth in YYYY-MM-DD format. | ||||||
| descriptionstring | Additional notes or description about the contact. | ||||||
lifecycleStageobject | Current lifecycle stage of the contact.
| ||||||
| doNotEmailboolean | Flag indicating whether email communication is disabled for this contact. | ||||||
| doNotCallboolean | Flag indicating whether phone communication is disabled for this contact. | ||||||
originalSourceobject | Original source through which the contact was acquired.
| ||||||
latestSourceobject | Most recent source of interaction with the contact.
| ||||||
| latestSourceDatestring | Date of the latest source interaction in YYYY-MM-DD format. | ||||||
| linkedInstring | LinkedIn profile URL of the contact. | ||||||
| facebookstring | Facebook profile URL of the contact. | ||||||
| twitterstring | Twitter 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
|
Example response
200 Success
{
"message": "Contact updated successfully.",
"data": {
"id": 1234
}
}