POST
/
v0
/
persons
curl --request POST \
  --url https://api.stardex.ai/v0/persons \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "linkedin_url": "<string>",
  "current_job_title": "<string>",
  "linkedin_location": "<string>",
  "company_name": "<string>",
  "email": "jsmith@example.com",
  "emails": [
    "jsmith@example.com"
  ],
  "phone_number": "<string>",
  "phone_numbers": [
    "<string>"
  ],
  "notes": "<string>",
  "job_id": "<string>",
  "job_name": "<string>",
  "client_name": "<string>",
  "client_id": "<string>",
  "external_source_id": "<string>"
}'
{
  "error": "<string>",
  "data": {
    "id": "<string>",
    "name": "<string>",
    "linkedin_public_id": "<string>",
    "current_job_title": "<string>",
    "company_name": "<string>",
    "emails": [
      {
        "contact_data_type": "<string>",
        "value": "<string>"
      }
    ],
    "linkedin_location": "<string>",
    "phones": [
      {
        "contact_data_type": "<string>",
        "value": "<string>"
      }
    ],
    "candidate_id": "<string>",
    "client_contact_id": "<string>",
    "external_source_id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your_api_key_here

Body

application/json
name
string
required

Full name of the person

Minimum length: 1
linkedin_url
string
required

LinkedIn profile URL

first_name
string

First name of the person

last_name
string

Last name of the person

current_job_title
string

Current job title

linkedin_location
string

LinkedIn location

company_name
string

Current company name

email
string

Primary email address

emails
string[]

Additional email addresses

phone_number
string

Primary phone number

phone_numbers
string[]

Additional phone numbers

notes
string

Initial notes about the person

job_id
string

Job ID for candidate association

job_name
string

Job name for candidate association

client_name
string

Client company name

client_id
string

Explicit client company ID if known

external_source_id
string

External source ID for the person (e.g. Hubspot, External system, etc.)

Response

201
application/json
Successful response
error
string | null
required

Error message, if any

data
object
required