PATCH
/
v1
/
persons
/
{id}
Update person
curl --request PATCH \
  --url https://api.stardex.ai/v1/persons/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "linkedin_url": "<string>",
  "emails": [
    {
      "contact_data_type": "<string>",
      "value": "<string>"
    }
  ],
  "phone_numbers": [
    {
      "contact_data_type": "<string>",
      "value": "<string>"
    }
  ],
  "name": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "current_job_title": "<string>",
  "company_name": "<string>",
  "linkedin_location": "<string>",
  "linkedin_headline": "<string>",
  "address": "<string>",
  "enrich_record": true,
  "work_email": "<string>",
  "personal_email": "<string>",
  "mobile_phone": "<string>",
  "work_phone": "<string>",
  "job_id": "<string>"
}'
{
  "success": true,
  "data": {
    "message": "Person updated successfully"
  }
}

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your_api_key_here

Path Parameters

id
string
required

Person ID

Body

application/json
linkedin_url
string

LinkedIn profile URL (alternative to using person ID) LinkedIn profile URL of the person

emails
object[]

Email addresses to update/add as an array Email addresses of the person

phone_numbers
object[]

Phone numbers to update/add as an array Phone numbers of the person

name
string

Full name Full name of the person

first_name
string

First name First name of the person

last_name
string

Last name Last name of the person

current_job_title
string

Current job title Current job title of the person

company_name
string

Current company name Current company name of the person

linkedin_location
string

LinkedIn location LinkedIn location of the person

linkedin_headline
string

LinkedIn headline LinkedIn headline of the person

address
string

Physical address Physical address of the person

enrich_record
boolean

Whether to enrich the person record

work_email
string

Work email address Work email address of the person

personal_email
string

Personal email address Personal email address of the person

mobile_phone
string

Mobile phone number Mobile phone number of the person

work_phone
string

Work phone number Work phone number of the person

job_id
string

Job ID of the person

Response

Person updated

error
string | null
required

Error message if any

data
object
required
success
boolean
required