Returns a single task or appointment by ID. Tasks and appointments share the same taskId namespace; the endpoint resolves the target automatically.
Caller must have manage permission on the task’s lead.
curl --request GET \
--url https://api.lofty.com/v2.0/tasks/{taskId} \
--header 'Authorization: <authorization>'{
"task": {
"id": 123,
"leadId": 123,
"creatorId": 123,
"content": "<string>",
"type": "<string>",
"startAt": "<string>",
"endAt": "<string>",
"timeZoneCode": "America/Los_Angeles",
"allDay": false,
"finishFlag": true,
"overdueFlag": true,
"finishTime": "<string>",
"createTime": "<string>",
"lastUpdate": "<string>",
"leadName": "<string>",
"leadEmail": "<string>",
"leadPhone": "<string>",
"leadFirstName": "<string>",
"leadLastName": "<string>",
"reminderType": 123,
"assignedRole": "<string>",
"assignedUser": "<string>",
"teamId": 123,
"subject": "<string>",
"body": "<string>",
"assignedUserId": 123,
"pipelineId": 123,
"queryInfo": "<string>",
"leadUserId": 123,
"queryId": 123,
"address": "123 Main St, Los Angeles, CA"
}
}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 or appointment to retrieve.
x >= 1Task or appointment retrieved successfully.
Wrapped response for GET /v2.0/tasks/{taskId}. The task entry is returned under the 'task' key.
Show child attributes
curl --request GET \
--url https://api.lofty.com/v2.0/tasks/{taskId} \
--header 'Authorization: <authorization>'{
"task": {
"id": 123,
"leadId": 123,
"creatorId": 123,
"content": "<string>",
"type": "<string>",
"startAt": "<string>",
"endAt": "<string>",
"timeZoneCode": "America/Los_Angeles",
"allDay": false,
"finishFlag": true,
"overdueFlag": true,
"finishTime": "<string>",
"createTime": "<string>",
"lastUpdate": "<string>",
"leadName": "<string>",
"leadEmail": "<string>",
"leadPhone": "<string>",
"leadFirstName": "<string>",
"leadLastName": "<string>",
"reminderType": 123,
"assignedRole": "<string>",
"assignedUser": "<string>",
"teamId": 123,
"subject": "<string>",
"body": "<string>",
"assignedUserId": 123,
"pipelineId": 123,
"queryInfo": "<string>",
"leadUserId": 123,
"queryId": 123,
"address": "123 Main St, Los Angeles, CA"
}
}