Skip to main content
Tasks and appointments help agents stay organized and follow up with leads at the right time. Tasks are action items — a call to make, an email to send, a follow-up to complete. Appointments are scheduled meetings with a specific start time, end time, and location. Both are associated with a lead and tracked through the same API surface.

Shared taskId namespace

Tasks and appointments in Lofty share the same taskId namespace. This means a task and an appointment can never have the same numeric ID, and when you reference an item by ID on any V2 endpoint, the API resolves it correctly regardless of whether it is a task or an appointment.
The V2 endpoints (/v2.0/tasks/... and /v2.0/calendar/...) operate on the same underlying ID space. A taskId returned from a task creation endpoint is the same identifier you would use to fetch or update that record through the calendar endpoints.

Tasks

A task is a to-do item assigned to an agent or assistant, linked to a specific lead. Use tasks to represent the action an agent needs to take next — scheduling a call, sending a listing, or following up after a showing.

Key task fields

Creating a task (V2)

Appointments

An appointment is a scheduled event with a defined start time, end time, and optional location. Unlike tasks, appointments represent a meeting or showing rather than a generic action item.

Key appointment fields

To list appointments for a lead, use GET /v1.0/appts.

V1 vs V2 API

Lofty exposes tasks through both V1 and V2 endpoints. The V2 API adds support for Appointment as a task type, uses ISO 8601 timestamps with timezone, and is the recommended path for new integrations.
Use the V2 endpoints for all new integrations. The V1 task endpoints remain available but do not support appointments as a task type.

Finish and unfinish workflow

When an agent completes a task or appointment, you mark it finished. If needed, you can revert that status. The V2 API provides dedicated endpoints for this rather than requiring a full update:
The same pattern is available through the calendar API:

Calendar API vs tasks API

The V2 Calendar API (/v2.0/calendar) is an alternative surface for managing the same tasks and appointments, with additional capabilities:
  • Available meeting slotsGET /v2.0/calendar/meetings/available returns open time slots for scheduling.
  • Composite calendar IDs — Calendar entries have IDs of the form <numericId>-task or <numericId>-appointment. You must pass this full composite string to per-entry calendar endpoints.
Calendar IDs returned by POST /v2.0/calendar are composite strings like 12345-task or 12345-appointment. Always pass the full string — including the type suffix — when calling PUT /v2.0/calendar/{calendarId}, DELETE /v2.0/calendar/{calendarId}, or the finish/unfinish endpoints.

Plan tasks

Plan tasks are auto-generated action items created by Lofty’s Sales Agent (AI Assistant) feature as part of automated follow-up plans. You can fetch plan tasks for a specific lead and batch-create them programmatically:
Plan tasks are associated with the Sales Agent workflow and are separate from agent-created tasks, though they share the same underlying data model.

Endpoint overview