Returns a single task by ID, along with the lead’s pipeline context. Caller must have manage permission on the lead that owns the task.
curl --request GET \
--url https://api.lofty.com/v1.0/tasks/{taskId} \
--header 'Authorization: <authorization>'{
"task": {
"id": 563172647619608,
"leadId": 100001,
"creatorId": 100234,
"content": "Send an email to my lead",
"type": "Call",
"deadline": "2026-04-22 17:00:00",
"finishTime": "2026-04-22 16:30:00",
"createTime": "2026-04-20 09:00:00",
"lastUpdate": "2026-04-20 09:00:00",
"deleteFlag": false,
"finishFlag": false,
"overdueFlag": false,
"leadName": "Alice Johnson",
"leadEmail": "alice@example.com",
"leadPhone": "+14155550199",
"leadFirstName": "Alice",
"leadLastName": "Johnson",
"reminderType": 0,
"assignedRole": "Agent",
"assignedUser": "Alice Johnson",
"teamId": 12345,
"subject": "Follow-up on Austin listings",
"body": "Discussed Austin inventory last week; sending the pre-approval doc now.",
"assignedUserId": 100234,
"pipelineId": 12345,
"queryInfo": "<string>",
"leadUserId": 100001,
"queryId": 123
}
}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]
ID of the task to retrieve.
x >= 1Task retrieved successfully.
Wrapped response for GET /v1.0/tasks/{taskId}. The task entry is returned under the 'task' key.
Task entry, including pipeline context.
Show child attributes
curl --request GET \
--url https://api.lofty.com/v1.0/tasks/{taskId} \
--header 'Authorization: <authorization>'{
"task": {
"id": 563172647619608,
"leadId": 100001,
"creatorId": 100234,
"content": "Send an email to my lead",
"type": "Call",
"deadline": "2026-04-22 17:00:00",
"finishTime": "2026-04-22 16:30:00",
"createTime": "2026-04-20 09:00:00",
"lastUpdate": "2026-04-20 09:00:00",
"deleteFlag": false,
"finishFlag": false,
"overdueFlag": false,
"leadName": "Alice Johnson",
"leadEmail": "alice@example.com",
"leadPhone": "+14155550199",
"leadFirstName": "Alice",
"leadLastName": "Johnson",
"reminderType": 0,
"assignedRole": "Agent",
"assignedUser": "Alice Johnson",
"teamId": 12345,
"subject": "Follow-up on Austin listings",
"body": "Discussed Austin inventory last week; sending the pre-approval doc now.",
"assignedUserId": 100234,
"pipelineId": 12345,
"queryInfo": "<string>",
"leadUserId": 100001,
"queryId": 123
}
}