Skip to main content
POST
/
trigger
/
enrich
/
sync
cURL
curl --request POST \
  --url https://public-api.lonescale.com/trigger/enrich/sync \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "enrichment_type": [
    "email",
    "phone"
  ],
  "contacts": [
    {
      "firstname": "John",
      "lastname": "Doe",
      "email": "john@acme.com",
      "job_title": "ceo",
      "linkedin_url": "https://www.linkedin.com/in/john-doe/",
      "domain": "acme.com",
      "company_name": "Acme",
      "custom": {
        "contact_id": "44479301"
      }
    }
  ],
  "custom": {
    "provider": "lonescale",
    "enrichment_type": "email and phone"
  }
}
'
{
  "contacts": [
    {
      "firstName": "John",
      "lastName": "Doe",
      "fullName": "John Doe",
      "linkedinUrl": "https://www.linkedin.com/in/john-doe/",
      "jobTitle": "CEO",
      "companyName": "Acme",
      "companyDomain": "acme.com",
      "email": "john@acme.com",
      "emailStatus": "valid",
      "phone": "+14155552671",
      "phoneType": "mobile"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Provide your API key in the x-api-key header.

Body

application/json
enrichment_type
enum<string>[]
required

Types of enrichment to perform.

Minimum array length: 1
Available options:
email,
phone,
profile
contacts
object[]
required

Contacts to enrich. Maximum 10 contacts per request.

Required array length: 1 - 10 elements
custom
object
detect_job_change
boolean

When true, each contact in the response will include a jobChangeDetected field indicating whether the contact has changed company since the input data was provided.

Only effective when enrichment_type includes "profile".

Response

Contacts enriched successfully

contacts
object[]

List of enriched contacts.