PATCH
/
v0
/
persons
/
{id}
curl --request PATCH \
  --url https://api.stardex.ai/v0/persons/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "emails": [
    {
      "contact_data_type": "work",
      "value": "john.doe@company.com"
    },
    {
      "contact_data_type": "personal",
      "value": "john@gmail.com"
    }
  ],
  "phones": [
    {
      "contact_data_type": "work",
      "value": "+1-555-0123"
    },
    {
      "contact_data_type": "mobile",
      "value": "+1-555-0124"
    }
  ],
  "current_job_title": "Senior Software Engineer",
  "linkedin_location": "San Francisco Bay Area",
  "linkedin_headline": "Building innovative solutions | Tech Lead at Company",
  "address": "123 Main St, San Francisco, CA 94105"
}'
{
  "error": null,
  "data": {
    "success": true,
    "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)

emails
object[]

Email addresses to update/add

phones
object[]

Phone numbers to update/add

name
string

Full name

first_name
string

First name

last_name
string

Last name

current_job_title
string

Current job title

company_name
string

Current company name

linkedin_location
string

LinkedIn location

linkedin_headline
string

LinkedIn headline

address
string

Physical address

Response

200
application/json
Successfully updated person
error
string | null
required

Error message if any

data
object | null
required