Skip to main content
GET
/
v1
/
lead-extractor
/
campaigns
/
{id}
/
results
curl -X GET "https://api.sendpilot.ai/v1/lead-extractor/campaigns/camp_abc123xyz/results?limit=50" \
  -H "X-API-Key: your-api-key"
{
  "leads": [
    {
      "id": "lead_xyz789",
      "linkedin_identifier": "johndoe",
      "linkedin_url": "https://www.linkedin.com/in/johndoe",
      "first_name": "John",
      "last_name": "Doe",
      "full_name": "John Doe",
      "headline": "CEO at TechCorp | Building the future of AI",
      "summary": "Experienced technology executive with 15+ years...",
      "location": "San Francisco Bay Area",
      "city": "San Francisco",
      "country": "United States",
      "profile_picture_url": "https://media.licdn.com/...",
      "company": "TechCorp Inc",
      "job_position": "CEO",
      "email": "john.doe@techcorp.com",
      "phone": "+1-555-123-4567",
      "connections": 500,
      "followers": 12500,
      "experience": [
        {
          "title": "CEO",
          "company": "TechCorp Inc",
          "duration": "2020 - Present"
        }
      ],
      "education": [
        {
          "school": "Stanford University",
          "degree": "MBA"
        }
      ],
      "skills": ["Leadership", "Strategy", "AI/ML"]
    }
  ],
  "pagination": {
    "total": 100,
    "offset": 0,
    "limit": 50,
    "has_more": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.sendpilot.ai/llms.txt

Use this file to discover all available pages before exploring further.

Returns the leads extracted by a completed lead extraction campaign.

Request

X-API-Key
string
required
Your API key

Path Parameters

id
string
required
The campaign ID returned from the create campaign endpoint

Query Parameters

offset
number
default:"0"
Number of leads to skip (for pagination)
limit
number
default:"100"
Maximum number of leads to return (1-1000)

Response

leads
array
Array of extracted leads with full profile data
pagination
object
curl -X GET "https://api.sendpilot.ai/v1/lead-extractor/campaigns/camp_abc123xyz/results?limit=50" \
  -H "X-API-Key: your-api-key"
{
  "leads": [
    {
      "id": "lead_xyz789",
      "linkedin_identifier": "johndoe",
      "linkedin_url": "https://www.linkedin.com/in/johndoe",
      "first_name": "John",
      "last_name": "Doe",
      "full_name": "John Doe",
      "headline": "CEO at TechCorp | Building the future of AI",
      "summary": "Experienced technology executive with 15+ years...",
      "location": "San Francisco Bay Area",
      "city": "San Francisco",
      "country": "United States",
      "profile_picture_url": "https://media.licdn.com/...",
      "company": "TechCorp Inc",
      "job_position": "CEO",
      "email": "john.doe@techcorp.com",
      "phone": "+1-555-123-4567",
      "connections": 500,
      "followers": 12500,
      "experience": [
        {
          "title": "CEO",
          "company": "TechCorp Inc",
          "duration": "2020 - Present"
        }
      ],
      "education": [
        {
          "school": "Stanford University",
          "degree": "MBA"
        }
      ],
      "skills": ["Leadership", "Strategy", "AI/ML"]
    }
  ],
  "pagination": {
    "total": 100,
    "offset": 0,
    "limit": 50,
    "has_more": true
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

id
string
required

The campaign ID returned from the create campaign endpoint

Query Parameters

offset
integer
default:0

Number of leads to skip (for pagination)

Required range: x >= 0
limit
integer
default:100

Maximum number of leads to return

Required range: 1 <= x <= 1000

Response

Extracted leads

leads
object[]
required
pagination
object
required