Retrieves AI tasks associated with a lead. Tasks are returned in V2 format with human-friendly status and type names.
curl --request GET \
--url https://api.lofty.com/v2.0/plan-tasks/lead/{leadId} \
--header 'Authorization: <authorization>'[
{
"id": 123456,
"content": "Follow up with client",
"taskType": "CALL",
"status": "PENDING",
"dueAt": "2026-03-01T15:30:00Z",
"createdAt": "2026-02-28T10:00:00Z",
"assignedTo": 67890,
"creatorId": 12345
}
]Documentation Index
Fetch the complete documentation index at: https://developer.lofty.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer [access_token]
Lead ID
Plan tasks retrieved successfully
Task ID
123456
Task content/description
"Follow up with client"
Task type: CALL, EMAIL, TEXT, etc.
"CALL"
Task status: PENDING, FINISHED, OVERDUE
"PENDING"
Due date in ISO8601 format
"2026-03-01T15:30:00Z"
Created time in ISO8601 format
"2026-02-28T10:00:00Z"
Assigned to user ID
67890
Creator user ID
12345
curl --request GET \
--url https://api.lofty.com/v2.0/plan-tasks/lead/{leadId} \
--header 'Authorization: <authorization>'[
{
"id": 123456,
"content": "Follow up with client",
"taskType": "CALL",
"status": "PENDING",
"dueAt": "2026-03-01T15:30:00Z",
"createdAt": "2026-02-28T10:00:00Z",
"assignedTo": 67890,
"creatorId": 12345
}
]