Skip to main content
GET
/
api
/
v1
/
leads
/
{id}
curl https://api.sendpilot.ai/api/v1/leads/lead_abc123 \
  -H "X-API-Key: YOUR_API_KEY"
{
  "id": "lead_abc123",
  "linkedinUrl": "https://www.linkedin.com/in/john-doe",
  "status": "CONNECTION_ACCEPTED",
  "firstName": "John",
  "lastName": "Doe",
  "title": "VP of Engineering",
  "company": "TechCorp",
  "campaignId": "camp_xyz789",
  "createdAt": "2024-02-20T10:00:00.000Z",
  "updatedAt": "2024-02-23T15:30:00.000Z"
}

Request

X-API-Key
string
required
Your API key
id
string
required
The lead ID

Response

id
string
Unique lead identifier
linkedinUrl
string
LinkedIn profile URL of the lead
status
string
Current lead status
firstName
string
Lead’s first name (if available)
lastName
string
Lead’s last name (if available)
title
string
Lead’s job title (if available)
company
string
Lead’s company (if available)
campaignId
string
The campaign this lead belongs to
createdAt
string
ISO 8601 timestamp when the lead was added
updatedAt
string
ISO 8601 timestamp of last update
curl https://api.sendpilot.ai/api/v1/leads/lead_abc123 \
  -H "X-API-Key: YOUR_API_KEY"
{
  "id": "lead_abc123",
  "linkedinUrl": "https://www.linkedin.com/in/john-doe",
  "status": "CONNECTION_ACCEPTED",
  "firstName": "John",
  "lastName": "Doe",
  "title": "VP of Engineering",
  "company": "TechCorp",
  "campaignId": "camp_xyz789",
  "createdAt": "2024-02-20T10:00:00.000Z",
  "updatedAt": "2024-02-23T15:30:00.000Z"
}