Working Leads
List working leads
Lists the leads a Sales Agent is working now, among the leads the caller can see. Each lead names the Sales Agent working it and when it started its latest follow-up (workingStartedAt). The list comes from a search index that trails the actual state: a lead that was just stopped or taken out of the pool can stay listed for a short while, and then its Sales Agent fields and workingStartedAt are null. Use GET /v2.0/sales-agents/by-lead for a lead’s current state. Filtering by AI stage is no longer supported: a request with a non-empty aiStage is refused with 400.
GET
/
v2.0
/
working-leads
List Working Leads
curl --request GET \
--url https://api.lofty.com/v2.0/working-leads \
--header 'Authorization: <authorization>'import requests
url = "https://api.lofty.com/v2.0/working-leads"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.lofty.com/v2.0/working-leads', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lofty.com/v2.0/working-leads",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lofty.com/v2.0/working-leads"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.lofty.com/v2.0/working-leads")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lofty.com/v2.0/working-leads")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"workingLeads": [
{
"leadId": 12345,
"firstName": "Jane",
"lastName": "Smith",
"email": "jane.smith@example.com",
"phone": "+1234567890",
"workingStartedAt": "2026-11-26T11:49:04-08:00",
"salesAgentType": "team",
"ownerUserId": 67890,
"ownerName": "Ashley Smith",
"assistantName": "Anna"
}
],
"metadata": {
"total": 150,
"count": 20,
"offset": 0,
"limit": 20
}
}"<string>""<string>""<string>"Query Parameters
⌘I
List Working Leads
curl --request GET \
--url https://api.lofty.com/v2.0/working-leads \
--header 'Authorization: <authorization>'import requests
url = "https://api.lofty.com/v2.0/working-leads"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.lofty.com/v2.0/working-leads', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lofty.com/v2.0/working-leads",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lofty.com/v2.0/working-leads"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.lofty.com/v2.0/working-leads")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lofty.com/v2.0/working-leads")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"workingLeads": [
{
"leadId": 12345,
"firstName": "Jane",
"lastName": "Smith",
"email": "jane.smith@example.com",
"phone": "+1234567890",
"workingStartedAt": "2026-11-26T11:49:04-08:00",
"salesAgentType": "team",
"ownerUserId": 67890,
"ownerName": "Ashley Smith",
"assistantName": "Anna"
}
],
"metadata": {
"total": 150,
"count": 20,
"offset": 0,
"limit": 20
}
}"<string>""<string>""<string>"