← Contacts

Update Contact

Update an existing contact by its ID. Only the fields you include in the request body will be changed.

PUT/contacts/:contactId
Scope
contacts.write
Auth Method
Bearer Token
Token Type
Sub-Account / Company

Header Parameters

ParameterTypeDescription
AuthorizationrequiredstringBearer {access_token}
VersionrequiredstringAPI Version
Possible values: 2021-07-28
Content-Typerequiredstringapplication/json

Path Parameters

ParameterTypeDescription
contactIdrequiredstringThe unique ID of the contact to update.

Body Parameters

ParameterTypeDescription
firstNamestringFirst name.
lastNamestringLast name.
namestringFull name.
emailstringEmail address.
phonestringPhone number in E.164 format.
address1stringStreet address.
citystringCity.
statestringState or province.
postalCodestringZIP or postal code.
countrystringCountry code (ISO 3166-1 alpha-2).
websitestringWebsite URL.
timezonestringIANA timezone.
dndbooleanGlobal Do Not Disturb flag.
dndSettingsobjectPer-channel DND settings.
tagsstring[]Tags to assign (replaces existing tags).
customFieldsobject[]Custom field values to set.
sourcestringLead source.
companyNamestringCompany name.
dateOfBirthstringBirth date (YYYY-MM-DD or similar).
assignedTostringUser ID to assign.
Example RequestcURL
curl -X PUT \
  'https://services.leadconnectorhq.com/contacts/{contactId}' \
  -H 'Authorization: Bearer {access_token}' \
  -H 'Version: 2021-07-28' \
  -H 'Content-Type: application/json' \
  -d '{
    "firstName": "Jane",
    "lastName": "Doe",
    "tags": ["vip", "returning"],
    "companyName": "Doe Enterprises"
  }'

Response — 200 OK

Example ResponseJSON
{
  "contact": {
    "id": "ocQHyuzHvuMOe5N5jjXF",
    "firstName": "Jane",
    "lastName": "Doe",
    "name": "Jane Doe",
    "email": "[email protected]",
    "phone": "+15551234567",
    "locationId": "ve9EPM428h8vShlRW1KT",
    "tags": ["vip", "returning"],
    "companyName": "Doe Enterprises",
    "dateUpdated": "2024-06-16T14:00:00.000Z"
  }
}

Country Field

Please use only accepted ISO 3166-1 alpha-2 country codes. See the country list for valid values.