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.
Request
- Base URLhttps://api.lofty.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
ID of the lead.
Inclusive lower bound (milliseconds since Unix epoch, UTC).
Inclusive upper bound (milliseconds since Unix epoch, UTC).
0-based page index.
Number of entries per page.
Headers
Bearer [access_token]
Response
System log page retrieved successfully.
Example response
{
"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,
"content": {
"fromStageName": "New",
"toStageName": "Active"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.