System Logs
Returns system-event timeline entries for the lead, sorted by timelineTime descending (newest first), with offset-based pagination.
Only system / change-log activity events are returned (e.g. stage changes, assignment/routing, subscriptions, smart-plan tasks). Call, text, email and site-activity (search / view / favorite) entries are NOT included, nor is note content (e.g. adding a note); edit/delete-note actions (types 17/18) are included. Each entry includes both the timelineType integer and a human-readable timelineTypeDesc name, so you do not need to map the integer yourself.
Note: startTime/endTime query parameters are epoch milliseconds, but the timelineTime/createTime/updateTime fields in the response are ISO-8601 strings.
Authorization: the authenticated user must be the lead’s owner or the shared agent; otherwise 403 is returned.
curl --request GET \
--url https://api.lofty.com/v1.0/systemLogs \
--header 'Authorization: <authorization>'import requests
url = "https://api.lofty.com/v1.0/systemLogs"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.lofty.com/v1.0/systemLogs', 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/v1.0/systemLogs",
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/v1.0/systemLogs"
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/v1.0/systemLogs")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lofty.com/v1.0/systemLogs")
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{
"hasMore": 1,
"timeLines": [
{
"id": "1224565260755697664",
"leadId": 1125957935106829,
"agentId": 302656410082719,
"timelineType": 38,
"timelineTypeDesc": "TeamStageChange",
"timelineTime": "2026-06-10T05:51:02.165+00:00",
"createTime": "2026-06-10T05:51:59.727+00:00",
"updateTime": "2026-06-10T05:51:59.727+00:00",
"fromId": 302656410082719,
"fromType": 1,
"toId": 1125957935106829,
"toType": 2,
"fromFirstName": "Jane",
"fromLastName": "Doe",
"toFirstName": "Sarah",
"toLastName": "Johnson",
"refId": 2033115,
"sticky": false,
"canSticky": false,
"content": {
"fromStageName": "New",
"toStageName": "Active"
}
}
]
}"<string>""<string>""<string>"Headers
Bearer [access_token]
Query Parameters
ID of the lead.
x >= 1Inclusive lower bound (milliseconds since Unix epoch, UTC).
Inclusive upper bound (milliseconds since Unix epoch, UTC).
0-based page index.
x >= 0Number of entries per page.
1 <= x <= 1000Response
System log page retrieved successfully.
Paginated response wrapping the system log timeline entries.
curl --request GET \
--url https://api.lofty.com/v1.0/systemLogs \
--header 'Authorization: <authorization>'import requests
url = "https://api.lofty.com/v1.0/systemLogs"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.lofty.com/v1.0/systemLogs', 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/v1.0/systemLogs",
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/v1.0/systemLogs"
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/v1.0/systemLogs")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lofty.com/v1.0/systemLogs")
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{
"hasMore": 1,
"timeLines": [
{
"id": "1224565260755697664",
"leadId": 1125957935106829,
"agentId": 302656410082719,
"timelineType": 38,
"timelineTypeDesc": "TeamStageChange",
"timelineTime": "2026-06-10T05:51:02.165+00:00",
"createTime": "2026-06-10T05:51:59.727+00:00",
"updateTime": "2026-06-10T05:51:59.727+00:00",
"fromId": 302656410082719,
"fromType": 1,
"toId": 1125957935106829,
"toType": 2,
"fromFirstName": "Jane",
"fromLastName": "Doe",
"toFirstName": "Sarah",
"toLastName": "Johnson",
"refId": 2033115,
"sticky": false,
"canSticky": false,
"content": {
"fromStageName": "New",
"toStageName": "Active"
}
}
]
}"<string>""<string>""<string>"