Skip to main content
GET
/
v2.0
/
plan-tasks
/
lead
/
{leadId}
Get plan tasks by lead ID
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.

Headers

Authorization
string
required

Bearer [access_token]

Path Parameters

leadId
integer<int64>
required

Lead ID

Response

Plan tasks retrieved successfully

id
integer<int64>

Task ID

Example:

123456

content
string

Task content/description

Example:

"Follow up with client"

taskType
string

Task type: CALL, EMAIL, TEXT, etc.

Example:

"CALL"

status
string

Task status: PENDING, FINISHED, OVERDUE

Example:

"PENDING"

dueAt
string

Due date in ISO8601 format

Example:

"2026-03-01T15:30:00Z"

createdAt
string

Created time in ISO8601 format

Example:

"2026-02-28T10:00:00Z"

assignedTo
integer<int64>

Assigned to user ID

Example:

67890

creatorId
integer<int64>

Creator user ID

Example:

12345