Update a Lead

Updates an existing lead. Returns the updated Lead.

Send only the fields you want to change — fields not included in the request body are left unchanged.

📘

Include in the payload object only the properties that need to be updated.

Request

PATCH https://api.comeet.co/leads/{uid}

Request path parameters:

NameTypeOptionalDescription
uidstringRequiredUID of the lead to update.

Request body parameters:

Accepts the same fields as Create a Lead. All fields are optional — include only the fields you want to update.

NameTypeOptionalDescription
partner_lead_idstringOptionalUnique ID of the lead on the partner's system
updated_by.typestringRequiredOne of the following: user, source_contact, other, app
updated_by.namestringRequired
updated_by.emailstringOptional
first_namestringOptional
middle_namestringOptional
last_namestringOptional
emailstringOptional
phonestringOptional
mobile_phonestringOptional
national_idstringOptional
linkedin_urlstringOptional
salary_expectationsstringOptionalAccess to this field is restricted in Recruit (BETA)
outreach_statusstringOptionalOne of the following: Not Contacted, Contacted, Responded
resumeobjectOptionalSee restrictions in Create a Lead
pictureobjectOptionalProfile photo
linksarray_objectOptional
filesarray_objectOptionalSee restrictions in Create a Lead
source_contactobjectOptional
source_contact.full_namestringOptional
source_contact.emailstringOptional
source_contact.phonestringOptional
addressobjectOptional
custom_fieldsobjectOptionalKey-value pairs of custom lead fields
notestringOptionalPlain text, no formatting.
{
  "updated_by": {
    "type": "user",
    "name": "John Recruiter",
    "email": "[email protected]"
  },
  "outreach_status": "Contacted",
  "phone": "+1-555-0100"
}

Response

{
  "uid": "00.BBB",
  "person_uid": "45.G72",
  "first_name": "Jane",
  "last_name": "Smith",
  "email": "[email protected]",
  "position_uid": "11.22",
  "source_contact": {
    "full_name": "John Recruiter",
    "email": "[email protected]",
    "phone": "+1-555-0100"
  },
  "time_created": "2024-06-01T09:00:00Z",
  "status": "In progress",
  "outreach_status": "Contacted"
}
{
  "status": 404,
  "error": "lead_not_found",
  "message": "Lead not found"
}