API v3 is live and in beta: expect possible malfunctions and breaking changes in the coming days. If you find a bug, please report it to your Sillage contact.
v2DeprecatedLeads

Get a Lead

Read a single lead by its id.

Returns a lead in the workspace, with its linked profile details and a reference to its current company.

The id path parameter is a numeric identifier. Pass the lead_id returned by other v2 endpoints, such as the Signals endpoints — don't guess, hard-code, or reuse an id from another workspace.

A lead with no linked profile is returned with the profile fields set to null. When the current company cannot be resolved, company is null. Neither case is an error.

Get a lead

GET/api/v2/partner/workspaces/{partner_workspace_id}/leads/{id}

Path parameters

ParameterTypeDescription
partner_workspace_idstringOpaque workspace identifier from the partner system.
idintegerId of the lead.

Example request

curl "https://api.getsillage.com/api/v2/partner/workspaces/ws_123/leads/901" \
  -H "Authorization: Bearer $SILLAGE_API_KEY"

Example response

{
  "data": {
    "id": 901,
    "first_name": "Jane",
    "last_name": "Doe",
    "linkedin_url": "https://linkedin.com/in/janedoe",
    "linkedin_handle": "janedoe",
    "linkedin_headline": "VP Product at Acme",
    "avatar_url": "https://media.licdn.com/janedoe.jpg",
    "email": "jane.doe@acme.com",
    "phone": null,
    "position": "VP Product",
    "location": "Paris, France",
    "geo": {
      "city": "Paris",
      "region": "Ile-de-France",
      "country": "France",
      "country_code": "FR"
    },
    "company": {
      "id": 456,
      "name": "Acme Inc",
      "domain": "acme.com",
      "linkedin_url": "https://www.linkedin.com/company/acme",
      "linkedin_handle": "acme",
      "activity_summary": "Acme sells collaboration software to mid-market teams.",
      "employee_range": "51-200",
      "location": "Paris, France"
    },
    "experiences": [
      {
        "title": "VP Product",
        "company_name": "Acme Inc",
        "company_linkedin_url": "https://www.linkedin.com/company/acme",
        "location": "Paris, France",
        "start_date": "2023-01-01",
        "end_date": null,
        "is_current": true
      }
    ]
  }
}

Response fields

FieldTypeDescription
idintegerId of the lead.
first_namestring or nullFirst name.
last_namestring or nullLast name.
linkedin_urlstring or nullLinkedIn profile URL.
linkedin_handlestring or nullLinkedIn profile handle (slug).
linkedin_headlinestring or nullLinkedIn headline.
avatar_urlstring or nullProfile picture URL.
emailstring or nullEmail address, when known.
phonestring or nullPhone number, when known.
positionstring or nullCurrent job title.
locationstring or nullLocation as a display string.
geoobject or nullStructured location. null when no structured location could be resolved — not an error.
geo.citystring or nullCity.
geo.regionstring or nullRegion or state.
geo.countrystring or nullCountry.
geo.country_codestring or nullISO country code.
companyobject or nullThe lead's current company, when one can be resolved. null when the lead has no linked profile, no current company, or that company is not tracked in this workspace — not an error.
company.idintegerThis company's id in the workspace. Pass it to Get a company.
company.namestring or nullCompany name.
company.domainstring or nullCompany domain.
company.linkedin_urlstring or nullCompany LinkedIn URL.
company.linkedin_handlestring or nullCompany LinkedIn handle.
company.activity_summarystring or nullA short summary of the company's activity.
company.employee_rangestring or nullEmployee headcount range, e.g. 51-200.
company.locationstring or nullCompany location.
experiencesarray or nullLinkedIn work history, in LinkedIn source order, including the current role. null when no work history is available for this lead — not an error.
experiences[].titlestring or nullJob title.
experiences[].company_namestring or nullEmployer name.
experiences[].company_linkedin_urlstring or nullEmployer LinkedIn URL.
experiences[].locationstring or nullJob location.
experiences[].start_datestring or nullStart date.
experiences[].end_datestring or nullEnd date. null for the current role.
experiences[].is_currentbooleanWhether this is the lead's current role. Use this flag to identify it — do not assume it is the first entry.

Errors

StatusMeaning
400Invalid path parameters.
401The master key is missing or invalid.
404No lead found for this id.
429Too many requests.
500An unexpected server error occurred.

Error responses use RFC 9457 problem documents with Content-Type: application/problem+json.

On this page