Skip to main content

Update a potential candidate

Update a curated set of lead fields. Scope: sourcing:write.

PATCH/api/v1/sourcing/{id} 🔒 API key

Updates a curated subset of a potential candidate’s fields. Scope: sourcing:write. Requires employer-write authority in one of the lead’s organizations (admins bypass). Send only the fields you want to change.

Path parameters

ParameterTypeDescription
idstringThe potential-candidate id.

Request body

FieldTypeDescription
fullNamestringLead’s full name.
statusstringLead status.
emailstring | nullCV email (validated).
contactEmailstring | nullAccount/contact email (validated).
phonestring | nullPhone (validated).
summarystring | nullFree-text summary.
skillsstring[]Skill tags.

Example request

curl -X PATCH https://app.talent-ray.com/api/v1/sourcing/pc_1 \
  -H "Authorization: Bearer tr_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "status": "parsed", "skills": ["python", "sql", "airflow"] }'

Response

200 OK — the updated potential candidate (same shape as Get a potential candidate).

Status codes

StatusMeaning
200Updated.
400bad_request — invalid or empty body.
401No valid API key.
403insufficient_scope (missing sourcing:write) or forbidden (no write authority in the lead’s org).
404Not found, or not visible to the key.
429Rate limit exceeded.