Skip to main content
GET
/
api
/
leads
/
getLead
curl -X GET "https://app.leadtrackr.io/api/leads/getLead?leadId=42" \
  -H "X-API-Key: your-api-key-here"
{
  "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:
  1. leadId
  2. uniqueIdentifier
  3. email
  4. phone
Only the highest-priority identifier is used — the others are ignored. For email and phone lookups, the most recently created lead is returned when multiple matches exist.

Query parameters

leadId
number
The numeric ID of the lead to retrieve.
uniqueIdentifier
string
Look up a lead by its user-provided unique identifier (e.g. your CRM lead ID).
email
string
Look up a lead by email address. Returns the newest matching lead.
phone
string
Look up a lead by phone number. Returns the newest matching lead.

Response

message
string
"Lead retrieved".
lead
object
The lead object.
curl -X GET "https://app.leadtrackr.io/api/leads/getLead?leadId=42" \
  -H "X-API-Key: your-api-key-here"
{
  "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"
  }
}