Skip to main content
GET
/
v2.0
/
tasks
List Tasks
curl --request GET \
  --url https://api.lofty.com/v2.0/tasks \
  --header 'Authorization: <authorization>'
{
  "tasks": [
    {
      "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.

Headers

Authorization
string
required

Bearer [access_token]

Query Parameters

leadId
integer<int64>
required

ID of the lead whose tasks and appointments to return.

Required range: x >= 1

Response

Tasks and appointments for the lead.

Wrapped response for GET /v2.0/tasks and GET /v2.0/tasks/my-tasks. Task entries are returned under the 'tasks' key.

tasks
object[]

Tasks and / or appointments matching the query.