curl -X GET "https://app.leadtrackr.io/api/leads/getLead?leadId=42" \
-H "X-API-Key: your-api-key-here"
const response = await fetch(
"https://app.leadtrackr.io/api/leads/getLead?leadId=42",
{ headers: { "X-API-Key": "your-api-key-here" } }
);
const data = await response.json();
console.log(data.lead);
$query = http_build_query(["leadId" => 42]);
$ch = curl_init("https://app.leadtrackr.io/api/leads/getLead?" . $query);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-Key: your-api-key-here"]
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
print_r($data["lead"]);
{
"message": "Lead retrieved",
"lead": {
"id": 42,
"status": "open",
"formName": "Contact Form",
"firstName": "John",
"lastName": "Doe",
"phone": "+31612345678",
"email": "john@example.com",
"companyName": "Acme Inc.",
"price": null,
"note": null,
"formData": {
"formName": "Contact Form",
"uniqueEventId": "evt_abc123"
},
"userData": {
"firstName": "John",
"lastName": "Doe",
"email": "john@example.com"
},
"attributionData": {
"gclid": "abc123",
"cid": "1234567890.1234567890"
},
"channelFlow": null,
"uniqueIdentifier": "crm-lead-456",
"createdAt": "2026-03-15T10:30:00.000Z"
}
}
Leads
Get Lead
Retrieve a single lead by ID, email, phone, or unique identifier.
GET
/
api
/
leads
/
getLead
curl -X GET "https://app.leadtrackr.io/api/leads/getLead?leadId=42" \
-H "X-API-Key: your-api-key-here"
const response = await fetch(
"https://app.leadtrackr.io/api/leads/getLead?leadId=42",
{ headers: { "X-API-Key": "your-api-key-here" } }
);
const data = await response.json();
console.log(data.lead);
$query = http_build_query(["leadId" => 42]);
$ch = curl_init("https://app.leadtrackr.io/api/leads/getLead?" . $query);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-Key: your-api-key-here"]
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
print_r($data["lead"]);
{
"message": "Lead retrieved",
"lead": {
"id": 42,
"status": "open",
"formName": "Contact Form",
"firstName": "John",
"lastName": "Doe",
"phone": "+31612345678",
"email": "john@example.com",
"companyName": "Acme Inc.",
"price": null,
"note": null,
"formData": {
"formName": "Contact Form",
"uniqueEventId": "evt_abc123"
},
"userData": {
"firstName": "John",
"lastName": "Doe",
"email": "john@example.com"
},
"attributionData": {
"gclid": "abc123",
"cid": "1234567890.1234567890"
},
"channelFlow": null,
"uniqueIdentifier": "crm-lead-456",
"createdAt": "2026-03-15T10:30:00.000Z"
}
}
Returns the full details of a single lead. The lead must belong to the project associated with your API key.
Provide exactly one identifier as a query parameter. If multiple are provided, the following priority order is used:
leadIduniqueIdentifieremailphone
email and phone lookups, the most recently created lead is returned when multiple matches exist.
Query parameters
number
The numeric ID of the lead to retrieve.
string
Look up a lead by its user-provided unique identifier (e.g. your CRM lead ID).
string
Look up a lead by email address. Returns the newest matching lead.
string
Look up a lead by phone number. Returns the newest matching lead.
Response
string
"Lead retrieved".object
The lead object.
Show lead properties
Show lead properties
number
Lead ID
string
Current lead status
string | null
Form name
string | null
First name
string | null
Last name
string | null
Phone number
string | null
Email address
string | null
Company name
number | null
Lead value in cents
string | null
Note attached to the lead
object | null
Raw form submission data
object | null
User contact data
object | null
Attribution and tracking data
string | null
Channel flow value
string | null
User-provided identifier linking the lead to an external system
string
ISO 8601 timestamp
curl -X GET "https://app.leadtrackr.io/api/leads/getLead?leadId=42" \
-H "X-API-Key: your-api-key-here"
const response = await fetch(
"https://app.leadtrackr.io/api/leads/getLead?leadId=42",
{ headers: { "X-API-Key": "your-api-key-here" } }
);
const data = await response.json();
console.log(data.lead);
$query = http_build_query(["leadId" => 42]);
$ch = curl_init("https://app.leadtrackr.io/api/leads/getLead?" . $query);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-Key: your-api-key-here"]
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
print_r($data["lead"]);
{
"message": "Lead retrieved",
"lead": {
"id": 42,
"status": "open",
"formName": "Contact Form",
"firstName": "John",
"lastName": "Doe",
"phone": "+31612345678",
"email": "john@example.com",
"companyName": "Acme Inc.",
"price": null,
"note": null,
"formData": {
"formName": "Contact Form",
"uniqueEventId": "evt_abc123"
},
"userData": {
"firstName": "John",
"lastName": "Doe",
"email": "john@example.com"
},
"attributionData": {
"gclid": "abc123",
"cid": "1234567890.1234567890"
},
"channelFlow": null,
"uniqueIdentifier": "crm-lead-456",
"createdAt": "2026-03-15T10:30:00.000Z"
}
}