Data model
All lead IDs are 64-bit integers. JavaScript clients must handle these carefully — see JS / TS Integration.
Lifecycle
Leads move through four stages:- Capture — A lead is created via API, form submission, or third-party import. Lofty creates a lead record with contact info and source.
-
Routing — If neither
assignedUserIdnorpondIdis provided, Lofty applies the team’s routing rules to automatically assign the lead to an agent. WithpondId, routing is skipped and the lead goes into that lead pond. - Working — The assigned agent works the lead. Activities (calls, emails, texts) are tracked in the lead’s timeline. Agents can add leads to the working pool for AI assistant follow-up.
- Conversion — The lead progresses through pipeline stages toward a closed deal. Transactions are created and associated with the lead.
Pipeline stages
Each lead has astage that reflects where it is in the sales process. Stages are configurable per team. Common stages include New Lead, Contacted, Qualified, Under Contract, and Closed.
Stage changes trigger Pipeline Change webhooks (listId: 12).
Hidden leads
When a lead has visibility restrictions, only the assigned agent receives webhook notifications and can access the lead. Other team members — including admins — are excluded.Lead ponds
A lead pond holds leads that have no agent assignee yet. List the ponds you can use withGET /v1.0/team-features/lead-ponds, then put a lead into one when you create it, update it, or assign it. See Move a lead into a lead pond.
Activities
The activity timeline captures all interactions with a lead:- V1 (
GET /v1.0/leads/{leadId}/activities) — Site activities: property views, favorites, searches. - V2 (
GET /v2.0/leads/{leadId}/activities) — Unified timeline: calls, texts, emails, and agent-logged communications in chronological order.
Listing leads: returnFields and otherFilters
GET /v1.0/leads takes two advanced query parameters. Both are optional; leave them out unless you need them.
returnFields — fetch only part of each lead
A comma-separated list of source paths in Lofty’s lead search document. Only those parts are loaded, which makes large pages faster to fetch. The response keeps the same shape: fields whose source path you did not request come back null, empty, or with their default value.
The values are source paths, not response field names. Each path starts with data.:
You can also name a single field under
data.lead, such as data.lead.leadId or data.lead.firstName.
otherFilters — extra filter criteria
A URL-encoded JSON object with filter criteria that have no dedicated query parameter. These keys are supported:
- Use the dedicated parameter when one exists.
offset,limit,sort,desc,contacted,keyandreturnFieldsalways win over the same criteria insideotherFilters;stage,source,segments,allTags,anyTags,assignedUserIdandgroupIdswin when you set them. - Invalid input is ignored silently, not rejected. Keys not in the table above are ignored. If the value is not valid JSON, or a supported key has the wrong type (for example
"leadIds": "123"), the wholeotherFiltersvalue is discarded and the request runs without those filters. Check the result count when you change a filter. otherFilterscannot widen what you see: results are always limited to the leads your token’s user can access.- Other keys may happen to work today but are not part of the public API and can change without notice.
Related resources
Lead Management Guide
Step-by-step: create, update, assign, and delete leads.
Leads API Reference
Full endpoint documentation with parameters and responses.