Skip to main content
POST
/
trigger
/
contact-sourcing
cURL
curl --request POST \
  --url https://public-api.lonescale.com/trigger/contact-sourcing \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "company_name": "Acme Corp",
  "company_domain": "acme.com",
  "company_linkedin_url": "https://www.linkedin.com/company/acme",
  "personas": [
    {
      "name": "Tech Leaders",
      "job_titles": [
        "CTO",
        "VP Engineering"
      ]
    }
  ],
  "limit": 10,
  "custom": {
    "id": "12356",
    "provider": "lonescale"
  },
  "webhook_url": "https://api.example.com/webhooks/enrichment"
}
'
"Sourcing started for company Acme Corp"

Authorizations

x-api-key
string
header
required

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

Body

application/json
company_domain
string
required

Company domain or website to search contacts from.

personas
object[]
required

Personas to use to search and filter contacts within the company

Minimum array length: 1
webhook_url
string<uri>
required

Webhook endpoint to receive results.

company_name
string

Company name to search contacts from.

company_linkedin_url
string

Company LinkedIn URL used to search contacts, increasing result coverage and accuracy by 25%.

included_locations
enum<string>[]

List of country codes (ISO 3166-1 alpha-2) to include in the search.

ISO 3166-1 alpha-2 country code

Available options:
AT,
BE,
CA,
CH,
DE,
DK,
ES,
FI,
FR,
GB,
IE,
IL,
IT,
LU,
NL,
NO,
PT,
SE,
US,
AU
limit
number

Defines the maximum number of contacts to retrieve

disable_company_info
boolean

Disable enrichment of company information for each contact, such as industry, size, etc. This option is useful if you only want to retrieve contact information without any company details.

custom
object

Response

Sourcing contacts successfully created

Response indicating the sourcing job has been created.

Example:

"Sourcing started for company Acme Corp"