# Lofty Developer API - [Introduction](https://developer.lofty.com/introduction.md): The Lofty Developer API provides REST access to leads, listings, transactions, communications, tasks, and webhooks in Lofty's real estate CRM platform. - [Quickstart](https://developer.lofty.com/quickstart.md): Create a Lofty developer account, register your application, obtain OAuth 2.0 credentials or an API key, and make your first authenticated API call in minutes. - [Overview](https://developer.lofty.com/authentication/overview.md): Authenticate with the Lofty API using OAuth 2.0 or API keys. - [OAuth 2.0](https://developer.lofty.com/authentication/oauth2.md): Set up OAuth 2.0 authentication for your Lofty API integration. - [API Keys](https://developer.lofty.com/authentication/api-keys.md): Authenticate with the Lofty API using a personal access token (API key). - [Rate Limits](https://developer.lofty.com/authentication/rate-limits.md): Two limits apply to every request: one per IP and one per credential. There is no app-wide quota. - [Leads](https://developer.lofty.com/concepts/leads.md): Understand the lead data model, lifecycle, and routing in Lofty. - [Tasks & Appointments](https://developer.lofty.com/concepts/tasks-appointments.md): Tasks are to-do items for agents; appointments are scheduled meetings. Both share a unified taskId namespace and are managed through the V2 API. - [Listings](https://developer.lofty.com/concepts/listings.md): Search active and sold MLS listings, retrieve published listings for a site feed, and associate properties with leads using the Lofty REST API. - [Transactions](https://developer.lofty.com/concepts/transactions.md): Transactions represent real estate deals linked to a lead. Create, update, and track deals through your pipeline with custom fields and property addresses. - [Website](https://developer.lofty.com/concepts/website.md): Read your Lofty website's traffic and audit facts, add Feature Areas, and change page SEO through the API. - [Webhooks](https://developer.lofty.com/concepts/webhooks.md): Subscribe to real-time event notifications from Lofty via HTTP callbacks. - [Error Codes](https://developer.lofty.com/authentication/error-codes.md): Complete reference of error codes returned by the Lofty API. - [Lead Management](https://developer.lofty.com/guides/lead-management.md): Create, retrieve, update, assign, and delete leads using the Lofty API. - [Communication](https://developer.lofty.com/guides/communication.md): Send emails and SMS, retrieve call and message history, add notes, and log external communications for Lofty leads using the REST API. - [Working Leads](https://developer.lofty.com/guides/working-leads.md): See which Sales Agents you can use and their capacity, assign leads to a Sales Agent, check who works a lead, list working leads and stop follow-up with the Lofty V2 API. - [AI Features](https://developer.lofty.com/guides/ai-features.md): Use Lofty's AI endpoints to analyze leads, summarize calls, generate call scripts, and prepare insights for more effective outreach. - [JS / TS Integration](https://developer.lofty.com/javascript-integration.md): Safely handle 64-bit integer IDs from the Lofty API in JavaScript and TypeScript to prevent silent precision loss in your application. - [Install the Lofty CLI](https://developer.lofty.com/cli/install.md): Install lofty-cli and verify the installation. - [Quickstart](https://developer.lofty.com/cli/quickstart.md): Common lofty-cli recipes you can copy and run today. Each example assumes you have already completed Install and Authentication. - [Authentication](https://developer.lofty.com/cli/authentication.md): lofty-cli supports four authentication methods. They are evaluated in priority order at every command invocation: the first one that yields a valid access token wins. - [Configuration](https://developer.lofty.com/cli/configuration.md): lofty-cli is configured through environment variables, on-disk config files, and per-invocation flags. Everything has a sensible default -- you only need to override what is relevant to your environment. - [Output Formats](https://developer.lofty.com/cli/output-formats.md): lofty-cli supports four output formats so you can pipe results into any downstream tool. The default is human-readable text; everything else is selected with --format or the --json shortcut. - [Troubleshooting](https://developer.lofty.com/cli/troubleshooting.md): If something does not work as expected, run the failing command with --verbose first. It prints the resolved auth method, the outgoing URL, and any error details to stderr. - [Command Reference](https://developer.lofty.com/cli/reference/overview.md): Every lofty-cli resource, command, and subcommand. - [auth](https://developer.lofty.com/cli/reference/auth.md): Reference for the lofty-cli auth command and its subcommands. - [leads](https://developer.lofty.com/cli/reference/leads.md): Reference for the lofty-cli leads command and its subcommands. - [transactions](https://developer.lofty.com/cli/reference/transactions.md): Reference for the lofty-cli transactions command and its subcommands. - [calendar](https://developer.lofty.com/cli/reference/calendar.md): Reference for the lofty-cli calendar command and its subcommands. - [tasks-appointments](https://developer.lofty.com/cli/reference/tasks-appointments.md): Reference for the lofty-cli tasks-appointments command and its subcommands. - [communication](https://developer.lofty.com/cli/reference/communication.md): Reference for the lofty-cli communication command and its subcommands. - [calls](https://developer.lofty.com/cli/reference/calls.md): Reference for the lofty-cli calls command and its subcommands. - [notes](https://developer.lofty.com/cli/reference/notes.md): Reference for the lofty-cli notes command and its subcommands. - [sales-agents](https://developer.lofty.com/cli/reference/sales-agents.md): Reference for the lofty-cli sales-agents command and its subcommands. - [agent-org](https://developer.lofty.com/cli/reference/agent-org.md): Reference for the lofty-cli agent-org command and its subcommands. - [agent-user](https://developer.lofty.com/cli/reference/agent-user.md): Reference for the lofty-cli agent-user command and its subcommands. - [alerts](https://developer.lofty.com/cli/reference/alerts.md): Reference for the lofty-cli alerts command and its subcommands. - [intelligent-features](https://developer.lofty.com/cli/reference/intelligent-features.md): Reference for the lofty-cli intelligent-features command and its subcommands. - [lead-activity](https://developer.lofty.com/cli/reference/lead-activity.md): Reference for the lofty-cli lead-activity command and its subcommands. - [lead-routing](https://developer.lofty.com/cli/reference/lead-routing.md): Reference for the lofty-cli lead-routing command and its subcommands. - [listing](https://developer.lofty.com/cli/reference/listing.md): Reference for the lofty-cli listing command and its subcommands. - [log-type](https://developer.lofty.com/cli/reference/log-type.md): Reference for the lofty-cli log-type command and its subcommands. - [members](https://developer.lofty.com/cli/reference/members.md): Reference for the lofty-cli members command and its subcommands. - [notifications](https://developer.lofty.com/cli/reference/notifications.md): Reference for the lofty-cli notifications command and its subcommands. - [opportunity](https://developer.lofty.com/cli/reference/opportunity.md): Reference for the lofty-cli opportunity command and its subcommands. - [system-logs](https://developer.lofty.com/cli/reference/system-logs.md): Reference for the lofty-cli system-logs command and its subcommands. - [team-features](https://developer.lofty.com/cli/reference/team-features.md): Reference for the lofty-cli team-features command and its subcommands. - [vendor](https://developer.lofty.com/cli/reference/vendor.md): Reference for the lofty-cli vendor command and its subcommands. - [webhooks](https://developer.lofty.com/cli/reference/webhooks.md): Reference for the lofty-cli webhooks command and its subcommands. - [Overview](https://developer.lofty.com/api-reference/leads/overview.md): Full reference for the Lofty Leads API: list, create, retrieve, update, delete, assign leads, manage saved searches and property alerts, and access activity timelines and system logs. - [List Leads](https://developer.lofty.com/api-reference/leads/list-leads.md): Returns a page of leads matching the supplied filters with pagination metadata. Commonly filtered by assignedUserId (leads assigned to a specific agent) and contacted (whether the lead has or hasn't been reached yet) — see the parameter list for the full set of filters. - [Create Lead](https://developer.lofty.com/api-reference/leads/create-lead.md): Creates a new lead. - [Get Lead](https://developer.lofty.com/api-reference/leads/get-lead.md): Returns a single lead by its ID. The response is wrapped under the 'lead' key. - [Update Lead](https://developer.lofty.com/api-reference/leads/update-lead.md): Updates an existing lead. Caller must have manage permission on the lead. - [Delete Lead](https://developer.lofty.com/api-reference/leads/delete-lead.md): Moves a lead to the trash. A reason is required and is recorded for audit. The response body is empty. - [Lead Activities](https://developer.lofty.com/api-reference/leads/activities.md): Returns the lead's site-tracked activities (browse / search / favorite / showing request / submission) across tracking types 1, 2, 3, 23 and 39, merged and sorted by created time descending. - [List lead activities](https://developer.lofty.com/api-reference/leads/list-lead-activities.md): Returns a unified timeline of call, text and email activities for the given lead, including both auto-captured and agent-logged entries, sorted by activityTime ascending. - [Add activity](https://developer.lofty.com/api-reference/leads/add-activity.md): Records a single website-tracked activity event for the lead: a search, viewing a listing (browse), saving a favorite, requesting a showing, or submitting a form. Captures automated on-site visitor behavior only - not a manually logged communication (see the Manual Log endpoints) or a CRM note/task. - [List saved searches](https://developer.lofty.com/api-reference/leads/list-saved-searches.md): Returns every saved search of the lead, including its conditions and alert delivery settings. Returns an empty collection when the lead has none. - [Create saved search](https://developer.lofty.com/api-reference/leads/create-saved-search.md): Sets up a new property alert (category PROPERTY_ALERT) or market snapshot (category MARKET_SNAPSHOT) for the lead, with its locations, price range, bedrooms and email frequency - the same as adding a saved search in the CRM. Every field is a readable value: weekdays and AM/PM for the schedule, caden… - [Update saved search](https://developer.lofty.com/api-reference/leads/update-saved-search.md): Changes the locations, price range, bedrooms, email frequency, schedule or recipients of an existing property alert or market snapshot (saved search) in place. Only the fields sent are changed; omitted fields keep their values. criteria, when sent, replaces every filter the API can write, and filter… - [Delete saved search](https://developer.lofty.com/api-reference/leads/delete-saved-search.md): Deletes the saved search and stops its emails for good. To stop the emails but keep the search, use the pause endpoint instead. - [Pause saved search alerts](https://developer.lofty.com/api-reference/leads/pause-saved-searches.md): Stops the Property Alert and/or Market Snapshot emails of a lead without deleting the searches. Select either by category (every search of the given kinds) or by id, not both. Searches already switched off are reported as ALREADY_INACTIVE and left untouched, so repeating the call is safe. Resume res… - [Resume saved search alerts](https://developer.lofty.com/api-reference/leads/resume-saved-searches.md): Switches alerts back on for the given saved searches, each at the cadence it ran at before it was paused (frequencyBeforePause on the read endpoint). Searches already on are reported as ALREADY_ACTIVE and keep their cadence. A search whose earlier cadence is unknown stays paused and is reported as P… - [List Notes](https://developer.lofty.com/api-reference/communication/list-notes.md): Returns all notes attached to the given lead. - [Get a note by ID](https://developer.lofty.com/api-reference/communication/get-a-note-by-id.md): Returns a single note, including its text content, by its ID. The note must belong to a lead visible to the caller. - [Create Note](https://developer.lofty.com/api-reference/communication/create-note.md): Adds (logs) a new free-text note on the target lead, recording anything worth remembering that has no structured field of its own. - [Update Note](https://developer.lofty.com/api-reference/communication/update-note.md): Edits (updates) the content and pin state of an existing note. - [Delete Note](https://developer.lofty.com/api-reference/communication/delete-note.md): Deletes a note by ID. Caller must have manage permission on the lead that owns the note. The response body is empty. - [List manual logs of a lead](https://developer.lofty.com/api-reference/manual-logs/list-manual-logs-of-a-lead.md): Returns the lead's manual-log entries for a single channel (logCall, logEmail or logText), paginated via offset+limit or cursor (currentId). - [Add a manual log entry](https://developer.lofty.com/api-reference/manual-logs/add-a-manual-log-entry.md): Creates a manual log entry (logCall, logEmail or logText) for the target lead. - [Get a manual log entry by ID](https://developer.lofty.com/api-reference/manual-logs/get-a-manual-log-entry-by-id.md): Returns a single manual log entry by its ID. - [Delete a manual log entry](https://developer.lofty.com/api-reference/manual-logs/delete-a-manual-log-entry.md): Deletes a manual log entry by its ID. Only entries whose logType is logCall, logEmail or logText can be deleted here; deletion of other timeline types returns 404 RESOURCE_NOT_EXIST. - [Assign Lead](https://developer.lofty.com/api-reference/leads/assign-lead.md): Assigns a lead to one or more agents, one assignee per role (`Agent`, `Assistant`, `Lender`). - [Preview Routing](https://developer.lofty.com/api-reference/leads/resolve-assignees-by-lead-info.md): Returns the assignees that would be selected by routing rules for a hypothetical lead matching the supplied name, email and other attributes. Useful for previewing routing before creating the lead. - [Update Property Info](https://developer.lofty.com/api-reference/leads/place-a-property.md): Attach a property (or mailing address) to the specified lead. The behaviour depends on the `property.id` field in the request body: - [Add Inquiry](https://developer.lofty.com/api-reference/leads/place-an-inquiry.md): Sets what kind of property or home the lead is looking for: price range, property type, bedrooms/bathrooms, and which locations they're interested in. - [System Logs](https://developer.lofty.com/api-reference/leads/system-logs.md): Returns system-event timeline entries for the lead, sorted by timelineTime descending (newest first), with offset-based pagination. - [Overview](https://developer.lofty.com/api-reference/tasks/overview.md): Manage tasks, appointments, and calendar events in Lofty. - [List Tasks](https://developer.lofty.com/api-reference/tasks/v2/list-tasks.md): Returns all tasks and appointments attached to the given lead. Caller must have manage permission on the lead. - [Create Task](https://developer.lofty.com/api-reference/tasks/v2/create-task.md): Creates a new follow-up task or appointment on the target lead. Whether an appointment or a regular task is created depends on the payload's type field. - [Get Task](https://developer.lofty.com/api-reference/tasks/v2/get-task.md): Returns a single task or appointment by its ID. Tasks and appointments share the same taskId namespace; the endpoint resolves the target automatically. - [Update Task](https://developer.lofty.com/api-reference/tasks/v2/update-task.md): Partially updates a task or appointment. Only non-null fields in the request body are applied. - [Delete Task](https://developer.lofty.com/api-reference/tasks/v2/delete-task.md): Deletes a task or appointment by ID. Caller must have manage permission on the entry's lead. - [Finish Task](https://developer.lofty.com/api-reference/tasks/v2/finish-task.md): Marks a task or appointment as completed. Caller must have manage permission on the entry's lead. Smart-plan tasks cannot be finished through this endpoint (TASK_IS_SMARTPLAN). - [Unfinish Task](https://developer.lofty.com/api-reference/tasks/v2/unfinish-task.md): Reopens a task or appointment, reverting it to the not-finished state - the opposite of Finish Task. Caller must have manage permission on the entry's lead. - [My Tasks](https://developer.lofty.com/api-reference/tasks/v2/my-tasks.md): Returns tasks assigned to the caller, sorted by startTime descending. Supports cursor-based pagination via currentId (offset) + limit. - [List Calendar Events](https://developer.lofty.com/api-reference/calendar/v2/list-events.md): Returns a page of calendar entries (Tasks and Appointments) for the caller, optionally filtered by leadId, type and completion status. - [Create Calendar Event](https://developer.lofty.com/api-reference/calendar/v2/create-event.md): Schedules either a Task or an Appointment for the target lead, selected by the 'type' field (case-insensitive TASK / APPOINTMENT). - [Get Calendar Event](https://developer.lofty.com/api-reference/calendar/v2/get-event.md): Returns a single Task or Appointment by its composite ID. Caller must have manage permission on the entry's lead. - [Update Calendar Event](https://developer.lofty.com/api-reference/calendar/v2/update-event.md): Partially updates a Task or Appointment. Only non-empty fields in the request body are applied; omitted fields keep their current values. - [Delete Calendar Event](https://developer.lofty.com/api-reference/calendar/v2/delete-event.md): Deletes a Task or Appointment by its composite ID. The response body is a simple message envelope. - [Finish Calendar Event](https://developer.lofty.com/api-reference/calendar/v2/finish-event.md): Marks a Task or Appointment as finished. Caller must have manage permission on the entry's lead. - [Unfinish Calendar Event](https://developer.lofty.com/api-reference/calendar/v2/unfinish-event.md): Reopens a Task or Appointment, reverting it to the not-finished state - the opposite of Finish Calendar Event. Caller must have manage permission on the entry's lead. - [Available Meetings](https://developer.lofty.com/api-reference/calendar/v2/available-meetings.md): Returns available meeting time slots within the given time range, sorted by startTime ascending. - [Create Showing](https://developer.lofty.com/api-reference/showings/v2/create-showing.md): Creates a showing. - [List Showings](https://developer.lofty.com/api-reference/showings/v2/list-showings.md): Returns a page of showings visible to the caller - showings the caller booked plus showings on listings where the caller is the listing contact - optionally filtered by lead, status, start-time range or the partner's externalId. Ordered by start time, newest first. With includeShowingRequests=true,… - [Get Showing](https://developer.lofty.com/api-reference/showings/v2/get-showing.md): Returns one showing with its listing, agents and lead. Caller must manage the showing's lead (20017 PERMISSION_DENIED). - [Update Showing](https://developer.lofty.com/api-reference/showings/v2/update-showing.md): Reschedules a showing created by the calling partner, changes its status (for example mark it completed) or replaces its comment. Only non-empty fields are applied. - [Cancel Showing](https://developer.lofty.com/api-reference/showings/v2/cancel-showing.md): Sets the showing's status to cancelled. Equivalent to PATCH with status=cancelled. Only showings created by the calling partner can be cancelled. - [Add Showing Feedback](https://developer.lofty.com/api-reference/showings/v2/add-showing-feedback.md): Appends a feedback entry to a showing created by the calling partner. A showing can carry any number of entries; entries are never edited. One of content or payload is required. externalId makes the call idempotent. - [List Showing Feedback](https://developer.lofty.com/api-reference/showings/v2/list-showing-feedback.md): Returns every feedback entry on the showing, oldest first, including entries added inside Lofty. Caller must manage the showing's lead (20017 PERMISSION_DENIED). - [List Tasks (V1)](https://developer.lofty.com/api-reference/tasks/v1/list-tasks.md): Returns every task attached to the given lead, both open and finished - each entry's finishFlag says which. Caller must have manage permission on the lead. - [Create Task (V1)](https://developer.lofty.com/api-reference/tasks/v1/create-task.md): Creates a follow-up task (a to-do with a deadline and an assigned role) on the target lead. - [Get Task (V1)](https://developer.lofty.com/api-reference/tasks/v1/get-task.md): Returns a single task by its ID, along with the lead's pipeline context. Caller must have manage permission on the lead that owns the task. - [Update Task (V1)](https://developer.lofty.com/api-reference/tasks/v1/update-task.md): Partially updates an existing task. Fields not supplied are left unchanged. - [Delete Task (V1)](https://developer.lofty.com/api-reference/tasks/v1/delete-task.md): Deletes a task by ID. Caller must have manage permission on the task's lead. The response body is empty. - [List Appointments](https://developer.lofty.com/api-reference/tasks/v1/list-appointments.md): Returns appointments attached to the given lead. Caller must have manage permission on the lead. - [List Transactions](https://developer.lofty.com/api-reference/transactions/list-transactions.md): Search and list transactions with pagination and an optional keyword filter that matches against the transaction name, property address, or the associated lead's name. - [Create Transaction](https://developer.lofty.com/api-reference/transactions/create-transaction.md): Creates a new transaction under the given lead. - [Get Transaction](https://developer.lofty.com/api-reference/transactions/get-transaction.md): Fetches a single transaction that belongs to the given lead. - [Update Transaction](https://developer.lofty.com/api-reference/transactions/partially-update-a-transaction.md): Partially updates an existing transaction. Only supplied fields are applied; omitted fields remain unchanged. `transactionStatus` is writable: supply the stage's display name exactly as it appears in the team's transaction pipeline for the given `transactionType` (case-insensitive, e.g. "Under Contr… - [List by Lead](https://developer.lofty.com/api-reference/transactions/list-transactions-for-a-lead.md): Returns all transactions attached to the given lead. - [List Transaction Pipelines](https://developer.lofty.com/api-reference/transactions/list-transaction-pipelines.md): Returns the team's full transaction pipeline configuration: for each transaction type (Purchase, Listing, Lease, Other), the ordered list of stages with their IDs, names and semantic flags. Use this to discover the valid status values before creating or updating transactions — stage names are custom… - [Update Property Address](https://developer.lofty.com/api-reference/transactions/update-transaction-property-address.md): Updates the property address of a transaction. The `transactionId` is carried in the request body, not the URL. - [Get Property Address](https://developer.lofty.com/api-reference/transactions/get-transaction-property-address.md): Returns the property address associated with a transaction. - [Overview](https://developer.lofty.com/api-reference/listings/overview.md): Understand the different listing search endpoints and when to use each. - [Search by Agent / Office](https://developer.lofty.com/api-reference/listings/search-listings-by-agent-office-or-mls-id.md): Searches active and sold listings for a specific agent (the caller by default), their office, or a set of MLS listing IDs. - [Get Published Listings](https://developer.lofty.com/api-reference/listings/get-published.md): Returns the caller team's published listings as an XML feed. Intended for external syndication partners; the response content type is application/xml. - [Search by Agent](https://developer.lofty.com/api-reference/communication/search-communications-by-agent.md): Returns a page of communication timeline entries for the caller (or the caller's team when teamView=true, requiring ACCESS_ALL_TEAM_LEADS permission), filtered by type and optional time range. The response is a page wrapper with totalCount, offset, limit, and pageData. - [Search by Agent (cursor paged)](https://developer.lofty.com/api-reference/communication/search-communications-by-agent-v2.md): Returns communication timeline entries for the caller (or the caller's team when teamView=true, requiring ACCESS_ALL_TEAM_LEADS permission) within a time range. - [Calls Overview](https://developer.lofty.com/api-reference/communication/calls-overview.md): Understand the two sets of call APIs and when to use each. - [Call History](https://developer.lofty.com/api-reference/communication/call-history.md): Returns call history entries for the given lead. Lead must belong to the caller's team. - [List call history of a lead (v2)](https://developer.lofty.com/api-reference/communication/list-call-history-of-a-lead-v2.md): Returns call history entries for the given lead, including additional event types not covered by the v1 variant. Lead must belong to the caller's team. - [List calls of a lead](https://developer.lofty.com/api-reference/calls/list-calls-of-a-lead.md): Returns call records attached to the given lead, with pagination metadata. - [Get a call by ID](https://developer.lofty.com/api-reference/calls/get-a-call-by-id.md): Returns a single call record by ID. Caller must have manage permission on the lead the call belongs to; otherwise 400 PERMISSION_DENIED. - [Get Call](https://developer.lofty.com/api-reference/communication/get-call.md): Returns the call identified by the given communication ID. The communication must be a call record, and the caller must have manage permission on the owning lead; otherwise 400 PERMISSION_DENIED is returned (no existence leak). Manually logged calls (those with no backing dialer record) are populate… - [Get a call recording URL](https://developer.lofty.com/api-reference/calls/get-a-call-recording-url.md): Returns a temporary download URL for the audio recording of a call. - [Email History](https://developer.lofty.com/api-reference/communication/list-emails.md): Returns email history entries for the given lead. Lead must belong to the caller's team. - [Send Email](https://developer.lofty.com/api-reference/communication/send-email.md): Sends an email to the specified lead using the caller's outgoing email configuration. - [Get Email](https://developer.lofty.com/api-reference/communication/get-email.md): Returns the email identified by the given communication ID. The communication must be an email record, and the caller must have manage permission on the owning lead; otherwise 400 PERMISSION_DENIED is returned (no existence leak). - [SMS History](https://developer.lofty.com/api-reference/communication/list-sms.md): Returns text message history entries for the given lead. Lead must belong to the caller's team. - [Send SMS](https://developer.lofty.com/api-reference/communication/send-sms.md): Sends an SMS to the specified lead from the caller's virtual number. - [Get Text](https://developer.lofty.com/api-reference/communication/get-text.md): Returns the text message identified by the given communication ID. The communication must be a text record, and the caller must have manage permission on the owning lead; otherwise 400 PERMISSION_DENIED is returned (no existence leak). - [Send Opportunity Alert](https://developer.lofty.com/api-reference/opportunity/send-an-opportunity-notification-to-the-leads-assi.md): Sends an in-app notification to the agent(s) assigned to the given lead, representing a buyer/seller activity signal (e.g. viewed a listing, saved a search, requested CMA). Certain notificationType values also trigger SMS and Email delivery. - [Send Task Reminder Push](https://developer.lofty.com/api-reference/notifications/send-app-push-for-taskappointment-reminder.md): Sends an in-app push notification to the agent assigned to the given task or appointment. - [Send SMS to Agent](https://developer.lofty.com/api-reference/notifications/send-system-sms-to-agent.md): Sends a system SMS message to the caller's own phone number by default, or to the teammate named by agentId when supplied. - [Send Email to Agent](https://developer.lofty.com/api-reference/notifications/send-system-email-to-agent.md): Sends a system email to the caller's own email address by default, or to the teammate named by agentId when supplied. Unsafe HTML (scripts, iframes, forms, event handlers) is removed from the content of an email to a teammate. - [Team Members](https://developer.lofty.com/api-reference/team/members.md): Returns members of the caller's team, optionally filtered by office / group IDs, with pagination metadata. - [Get a team member by account (email)](https://developer.lofty.com/api-reference/team/get-a-team-member-by-account-email.md): Returns a team member of the caller's team identified by their login email. The member must have accepted the team invitation. - [Get a team member by user ID (deprecated)](https://developer.lofty.com/api-reference/team/get-a-team-member-by-user-id-deprecated.md): Returns a team member of the caller's team by user ID. Deprecated: prefer GET /v1.0/members/`{account}` when only the email is available, or GET /v1.0/members with pagination for directory listing. - [Get the current user's profile](https://developer.lofty.com/api-reference/team/get-the-current-users-profile.md): Returns the team-member profile of the caller, resolved from the authentication token - i.e. which user/agent the token is logged in as. - [List Vendors](https://developer.lofty.com/api-reference/vendor/list-vendors-of-the-callers-team.md): Returns the vendor directory for the team .Notes: - Scope: the list is scoped to the caller's team (teamId is resolved from the token). - Ordering is not guaranteed; do not rely on a specific sort order. - Only the fields defined in VendorInfo are exposed; internal fields are not returned. - The res… - [List Tags](https://developer.lofty.com/api-reference/team-features/list-lead-tags-visible-to-the-caller.md): Returns the lead tags available to the caller within the team. Includes both team-wide tags and tags scoped to the caller. - [List Custom Fields](https://developer.lofty.com/api-reference/team-features/list-lead-custom-field-definitions.md): Returns the lead-level custom field definitions configured on the caller's team. Use the returned IDs when populating custom field values on leads. - [List Transaction Custom Fields](https://developer.lofty.com/api-reference/transactions/list-transaction-custom-field-definitions.md): Returns the team-level custom field definitions applicable to transactions. Use the returned ids when populating LeadTransaction.customFields on create / update. - [List Transaction Field Groups](https://developer.lofty.com/api-reference/transactions/list-transaction-field-groups.md): Returns the field groups ("forms") defined for a transaction type, so a caller can choose where a new custom field should appear. - [Add Custom Field](https://developer.lofty.com/api-reference/team-features/add-a-lead-custom-field.md): Creates a new lead-level custom field on the caller's team. - [Create Transaction Custom Field](https://developer.lofty.com/api-reference/transactions/create-transaction-custom-field.md): Creates a team-level custom field for transactions and returns it, id included, so the id can be used straight away when populating LeadTransaction.customFields. - [List Lead Ponds](https://developer.lofty.com/api-reference/team-features/list-lead-ponds-visible-to-the-caller.md): Returns the lead ponds on the caller's team that the caller has access to. - [Get Lead Pond](https://developer.lofty.com/api-reference/team-features/get-a-lead-pond-by-id.md): Returns a single lead pond by ID. The pond must belong to the caller's team and be visible to the caller (office-level lead-pond manage permission). If it is not, the request fails with 400 Permission denied; the same error is returned whether the pond does not exist or simply is not visible, so exi… - [List Lead Pipelines](https://developer.lofty.com/api-reference/team-features/list-lead-pipelines.md): Returns a page of lead pipeline entries defined on the caller's team. Use the returned lead pipeline IDs when assigning or filtering leads. - [Create a new agent](https://developer.lofty.com/api-reference/agents/create-a-new-agent.md): Creates a new agent under the caller's team using the supplied profile. - [Add tags to an agent](https://developer.lofty.com/api-reference/agents/add-tags-to-an-agent.md): Attaches one or more tags to the specified agent in batch. - [Deactivate an agent](https://developer.lofty.com/api-reference/agents/deactivate-an-agent.md): Deactivates the specified agent of the caller's team. - [Reactivate an agent](https://developer.lofty.com/api-reference/agents/reactivate-an-agent.md): Reactivates a previously deactivated agent of the caller's team. - [Get Organization](https://developer.lofty.com/api-reference/org/get-the-callers-organization-info.md): Returns the organization structure the caller belongs to. - [Add Office](https://developer.lofty.com/api-reference/org/add-an-office-to-the-team.md): Creates a new office (organizational sub-unit) under the caller's team. Caller must have permission to manage team organization. - [Update Office](https://developer.lofty.com/api-reference/org/update-an-office.md): Updates an existing office under the caller's team. Caller must have permission to manage team organization. - [Update Company](https://developer.lofty.com/api-reference/org/update-the-teams-company-info.md): Updates the company record associated with the caller's team. Caller must have permission to manage team organization. - [List Permission Profiles](https://developer.lofty.com/api-reference/org/list-permission-profiles-available-to-the-team.md): Returns the permission profiles (role templates) defined on the caller's team. Use these IDs when assigning roles to team members. - [Lead Routing Rules](https://developer.lofty.com/api-reference/team/routing.md): Returns the routing rules configured on the caller's team for the given business type. Caller must have MANAGE_LEAD_DISTRIBUTION or MANAGE_LEAD_DISTRIBUTION_DEPARTMENT permission. - [Update a routing rule](https://developer.lofty.com/api-reference/routing/update-a-routing-rule.md): Updates a routing rule identified by its ID. Validates activeHours and routingStrategy: - [Get default (supplement) routing rule](https://developer.lofty.com/api-reference/routing/get-default-supplement-routing-rule.md): Returns the default / fallback routing rule configured on the caller's team for the given business type. Caller must have MANAGE_LEAD_DISTRIBUTION or MANAGE_LEAD_DISTRIBUTION_DEPARTMENT permission. - [Update default (supplement) routing rule](https://developer.lofty.com/api-reference/routing/update-default-supplement-routing-rule.md): Updates the default / fallback routing rule for the given business type. - [List assign roles](https://developer.lofty.com/api-reference/routing/list-assign-roles.md): Returns the assignable roles defined on the caller's team. Use the returned IDs when the routing business type is ASSISTANT_LEAD. Caller must have MANAGE_LEAD_DISTRIBUTION or MANAGE_LEAD_DISTRIBUTION_DEPARTMENT permission. - [List members available for assignment](https://developer.lofty.com/api-reference/routing/list-members-available-for-assignment.md): Returns members that can be assigned when routing leads of the given business type. Caller must have MANAGE_LEAD_DISTRIBUTION or MANAGE_LEAD_DISTRIBUTION_DEPARTMENT permission. - [Website traffic overview](https://developer.lofty.com/api-reference/website/website-traffic-overview.md): Visitors, page views and page views per visitor for the period, each with the change rate against the previous period (the previous value itself is not available yet and is null). Same numbers as the CRM Traffic Report. The period is at most 365 days and defaults to the last 30 days. - [Daily website traffic](https://developer.lofty.com/api-reference/website/daily-website-traffic.md): Visitors, page views and page views per visitor for every day of the period, dated in the agent's CRM time zone. The period is at most 365 days and defaults to the last 30 days. - [Visitor activity by hour of week](https://developer.lofty.com/api-reference/website/visitor-activity-by-hour-of-week.md): Visitors for every weekday (0 = Sunday … 6 = Saturday) and hour (0-23), plus the busiest cell. The period is at most 365 days and defaults to the last 30 days. - [New vs returning visitors](https://developer.lofty.com/api-reference/website/new-vs-returning-visitors.md): How many visitors were new and how many returning, their shares and how the shares moved against the previous period. The period is at most 365 days and defaults to the last 30 days. - [Visitors by traffic source](https://developer.lofty.com/api-reference/website/visitors-by-traffic-source.md): Visitors per channel (Direct, Paid, Search Organic, Social Organic, Email, AI, Other) and each channel's share. The period is at most 365 days and defaults to the last 30 days. - [Page views by device](https://developer.lofty.com/api-reference/website/page-views-by-device.md): Desktop and mobile page views, their shares and the share change against the previous period. The period is at most 365 days and defaults to the last 30 days. - [Listing views and searches per visitor by source](https://developer.lofty.com/api-reference/website/listing-views-and-searches-per-visitor-by-source.md): Average listing-detail views and listing searches per visitor, overall and per traffic source. The period is at most 365 days and defaults to the last 30 days. - [Traffic by page type and source](https://developer.lofty.com/api-reference/website/traffic-by-page-type-and-source.md): Page views, visitors and page views per visitor broken down by page type (Home, Listing Detail, …) and traffic source. The period is at most 365 days and defaults to the last 30 days. - [List Feature Areas](https://developer.lofty.com/api-reference/website/list-feature-areas.md): The Feature Areas (community pages) on the caller's primary website, newest first: name, location, type and how many sub-pages each has. - [Create a Feature Area](https://developer.lofty.com/api-reference/website/create-a-feature-area.md): Adds one neighborhood or city to the caller's website as a Feature Area. Lofty generates its intro with AI (takes several seconds) and creates its intro, listing-search and market pages; detail and FAQ content and the cover picture are generated afterwards. Fails with 422001 when the same area alrea… - [Get a Feature Area](https://developer.lofty.com/api-reference/website/get-a-feature-area.md): One Feature Area with its location, generated intro / detail / FAQ content and its sub-pages. - [List the sub-pages of a Feature Area](https://developer.lofty.com/api-reference/website/list-the-sub-pages-of-a-feature-area.md): The intro, listing-search and market pages generated for one Feature Area. - [Update page SEO](https://developer.lofty.com/api-reference/website/update-page-seo.md): Changes the SEO title, meta description and/or keywords of 1-10 pages on the caller's website. Only the fields sent are changed. Values are raw templates: keep variables such as `{{Brand Name}}` as they are. Each page gets its own result: `updated` (with the raw values before and after), `not_found`… - [Audit overview](https://developer.lofty.com/api-reference/website/audit-overview.md): The caller's primary website: id, domain, status, how many pages and how many Feature Areas it has. `featureAreaCount` is the site's Feature Area count, equal to `featuredAreaCount` of seo-settings and `pageTypeCounts.feature_area` of structure. Returns an audit section `{section, siteId, generatedA… - [Audit SEO settings](https://developer.lofty.com/api-reference/website/audit-seo-settings.md): Site-level SEO settings of the caller's primary website: brand name, intro video link, site keywords and the site's Feature Areas (the first 50 by id, with their total count and version). `featuredAreaCount` is the site's Feature Area count, equal to `featureAreaCount` of overview. Returns an audit… - [Audit pages](https://developer.lofty.com/api-reference/website/audit-pages.md): The menu pages of the caller's primary website, the same pages as the CMS SEO > Page SEO table, with their menu label, URL, SEO title, description and keywords (title and description lengths) and their saved templates (`rawTitle`, `rawDescription`, `rawKeywords`), H1, hero image alt, schema types an… - [Audit page detail](https://developer.lofty.com/api-reference/website/audit-page-detail.md): One page of the caller's primary website: the fields of its Audit pages item, including the saved templates, plus its schema JSON. Only pages listed by Audit pages are found. The page carries fetchError when its live fetch failed; "redirected to another domain: …" means the page redirects off the si… - [Audit structure](https://developer.lofty.com/api-reference/website/audit-structure.md): Navigation tree, page counts per type and how the Feature Area pages are linked from the home page of the caller's primary website. The navigation tree is the menu in the live header: internal links without a live page are left out, except neighborhood menu items; external links are kept; folders le… - [Audit technical files](https://developer.lofty.com/api-reference/website/audit-technical-files.md): robots.txt, sitemap.xml and llms.txt of the caller's primary website as fetched from the live site: per file whether it exists, HTTP status, size, last-modified and any fetch error; the robots rules grouped by user agent (`groups`, each with its `userAgents` and `disallow` rules) and whether a sitem… - [Audit integrations](https://developer.lofty.com/api-reference/website/audit-integrations.md): Whether Google Search Console, Bing Webmaster Tools and Google Business Profile are connected to the caller's primary website, and whether the NAP (name, address, phone) on the site matches the Business Profile. For Bing, `connected` means the Bing account is linked and `verified` means the site is… - [List usable Sales Agents](https://developer.lofty.com/api-reference/sales-agents/get-current-users-sales-agent.md): Lists every Sales Agent the caller may use: their own (salesAgentType personal) and the team Sales Agent they borrow from the team owner (team). A team owner's own Sales Agent is the team Sales Agent. Returns an empty array when the caller has no usable Sales Agent. Includes the four channel switche… - [Get Sales Agent quota](https://developer.lofty.com/api-reference/sales-agents/get-current-users-sales-agent-quota.md): Lead capacity of each Sales Agent the caller may use. Capacity is concurrent: one lead takes one slot however many messages it gets, on any channel. When the Sales Agent is full it stops taking new leads and keeps working the ones it has. Capacity never resets on a schedule: a slot is freed only whe… - [Get Sales Agent by lead](https://developer.lofty.com/api-reference/sales-agents/get-sales-agent-by-lead-id.md): Tells whether a Sales Agent is working the lead (workingStatus working, stopped or not_working) and which one. A stopped lead names the Sales Agent that last worked it. A lead no Sales Agent works or worked answers not_working with every Sales Agent field null. A Sales Agent the caller cannot use (f… - [List working leads](https://developer.lofty.com/api-reference/sales-agents/query-working-leads-paginated.md): Lists the leads a Sales Agent is working now, among the leads the caller can see. Each lead names the Sales Agent working it and when it started its latest follow-up (workingStartedAt). The list comes from a search index that trails the actual state: a lead that was just stopped or taken out of the… - [Assign leads to Sales Agent](https://developer.lofty.com/api-reference/sales-agents/assign-working-leads.md): Hands leads to a Sales Agent, lead by lead; the only Sales Agent endpoint that uses capacity. Without salesAgent each lead goes by ownership: a team lead to the team Sales Agent, a personal lead to the personal one. With salesAgent (personal or team) each lead not yet worked goes to that Sales Agent… - [Stop Sales Agent working a lead](https://developer.lofty.com/api-reference/sales-agents/stop-working-lead.md): Stops the Sales Agent's automated follow-up on the specified lead, the same action as stopping it in the CRM (recorded as a manual stop by the caller). The response's 'success' field reports whether the request was accepted. To resume, assign the lead again with POST /v2.0/working-leads/assign; that… - [Generate Call Script](https://developer.lofty.com/api-reference/ai/generate-call-script.md): Generates a call script based on lead information and an associated task. - [Get Call Summary](https://developer.lofty.com/api-reference/ai/get-call-summary.md): Queries and returns the generated call summary for a call recording. - [Generate Call Summary](https://developer.lofty.com/api-reference/ai/trigger-call-summary-generation.md): Triggers async generation of a call summary from a call recording. - [Prepare Insight](https://developer.lofty.com/api-reference/ai/generate-prepare-insight.md): Generates pre-meeting insight based on lead and appointment information. - [List Lead Analysis Tasks](https://developer.lofty.com/api-reference/ai/query-leadanalysis-task-list.md): Paginates current user's LeadAnalysis tasks (last 3 months, excluding canceled/finished). - [Create Lead Analysis Task](https://developer.lofty.com/api-reference/ai/create-leadanalysis-task.md): Triggers an AI analysis task for the specified lead list, executed asynchronously. - [List Webhooks](https://developer.lofty.com/api-reference/webhooks/list-webhooks.md): Shows every webhook subscription the caller created and configured for their team. A secret is never included here. See the Webhooks tag description for the full list of event types. For detailed payload shapes per event type, see [Webhook Event Payloads](/concepts/webhooks#event-payloads). - [Create Webhook](https://developer.lofty.com/api-reference/webhooks/create-webhook.md): Registers a new webhook subscription so the caller's team gets notified about events - lead created/updated/deleted, lead site activity, transactions, calls/emails/texts, notes, tasks, appointments, and more. See the Webhooks tag description for the full list of event types and delivery rules. For d… - [Rotate Webhook Secret](https://developer.lofty.com/api-reference/webhooks/rotate-webhook-secret.md): Issues a new signing secret (`whsec_...`) for one of the caller's webhooks. Use it to switch on signing for a webhook created before signing existed (its deliveries stay unsigned until you do), or to replace a secret which may have leaked. The previous secret keeps signing for 7 days: during the ove… - [Delete Webhook](https://developer.lofty.com/api-reference/webhooks/delete-webhook.md): Deletes a webhook subscription by ID. Only the user who created the subscription can delete it. The response body is empty. Send the `Content-Type: application/json` header even though the request has no body; without it the call fails with code 20001. - [Brokermint — Sync Lead](https://developer.lofty.com/api-reference/leads/brokermint-webhook-update-a-synced-lead.md): Callback endpoint for Brokermint to push contact updates into Lofty. Not intended for general external callers. - [Brokermint — Sync Transaction](https://developer.lofty.com/api-reference/transactions/brokermint-webhook-update-a-synced-transaction.md): Callback endpoint for Brokermint integration to sync transaction updates into Lofty. - [Lofty MCP Server](https://developer.lofty.com/mcp/overview.md): Connect AI agents to the Lofty CRM over the Model Context Protocol — 29 intent-shaped tools covering all 154 REST operations, with one rule the model only has to learn once. - [Tool overview](https://developer.lofty.com/mcp/tool-overview.md): Read and write tools, grouped by the part of the CRM they touch. - [The one invariant](https://developer.lofty.com/mcp/invariant.md): search_* never changes data. Every other tool might. - [Quickstart](https://developer.lofty.com/mcp/quickstart.md): Get a credential, connect your client, and make your first three MCP calls. - [Connect your client](https://developer.lofty.com/mcp/connect-client.md): Install the Lofty app in ChatGPT or the Lofty connector in Claude, or connect Lofty to Claude Code, Cursor, VS Code, Codex CLI, and any other Streamable HTTP MCP client. - [Authentication](https://developer.lofty.com/mcp/authentication.md) - [Session context](https://developer.lofty.com/mcp/session-context.md): Who the caller is, which team they belong to, and what timezone they're in — delivered without a tool call. - [search_leads](https://developer.lofty.com/mcp/tools/search-leads.md): Filter leads by status, source, tag, owner or custom field; fetch by id; read saved property searches. - [search_lead_activities](https://developer.lofty.com/mcp/tools/search-lead-activities.md): Calls, texts, emails, notes, manual logs, system logs and the unified activity timeline for a lead or for every lead an agent owns. - [search_tasks](https://developer.lofty.com/mcp/tools/search-tasks.md): Tasks and calendar events — list, fetch by id, "my tasks" across every lead, and available meeting slots. - [search_transactions](https://developer.lofty.com/mcp/tools/search-transactions.md): Search transactions, fetch by id, list by lead, read property address details and transaction custom field definitions. - [search_listings](https://developer.lofty.com/mcp/tools/search-listings.md): Published listings by agent or office. Read-only at this layer. - [search_team_config](https://developer.lofty.com/mcp/tools/search-team-config.md): Members, tags, custom fields, pipelines, ponds, vendors, organization info and lead routing. - [search_sales_agent](https://developer.lofty.com/mcp/tools/search-sales-agent.md): The AI Sales Agent: the leads it works, the Sales Agents you can use, their capacity, and which Sales Agent works a lead. - [search_webhooks](https://developer.lofty.com/mcp/tools/search-webhooks.md): List the event subscriptions you created. - [search_lead_insights](https://developer.lofty.com/mcp/tools/search-lead-insights.md): Read an existing call summary, or list lead-analysis tasks. - [search_site_analytics](https://developer.lofty.com/mcp/tools/search-site-analytics.md): The caller's website traffic report, one chart per call. Read-only. - [search_feature_areas](https://developer.lofty.com/mcp/tools/search-feature-areas.md): The Feature Areas (AI-generated neighborhood / city pages) on the caller's website. Read-only. - [search_site_audit](https://developer.lofty.com/mcp/tools/search-site-audit.md): Facts about the caller's own Lofty website, one section per call. Read-only. - [manage_leads](https://developer.lofty.com/mcp/tools/manage-leads.md): Everything that writes to a lead or to the records hanging off it — the lead, its notes, its manual logs, and backfilled activity. - [create_saved_search](https://developer.lofty.com/mcp/tools/create-saved-search.md): Create a property alert or market snapshot for a lead. - [update_saved_search](https://developer.lofty.com/mcp/tools/update-saved-search.md): Change the name, schedule, filters, recipients or other settings of a lead's saved searches. - [delete_saved_search](https://developer.lofty.com/mcp/tools/delete-saved-search.md): Permanently delete a lead's saved searches. - [pause_saved_searches](https://developer.lofty.com/mcp/tools/pause-saved-searches.md): Stop the emails of a lead's saved searches without deleting them. - [resume_saved_searches](https://developer.lofty.com/mcp/tools/resume-saved-searches.md): Switch a lead's paused saved searches back on. - [bulk_lead_action](https://developer.lofty.com/mcp/tools/bulk-lead-action.md): Queue a mass SMS, mass email, tag change or pipeline-stage change across up to 5,000 leads, then check its progress. - [manage_tasks](https://developer.lofty.com/mcp/tools/manage-tasks.md): Create, update, delete, complete and un-complete tasks and calendar events. - [manage_transactions](https://developer.lofty.com/mcp/tools/manage-transactions.md): Create or update a transaction, or write its property address. - [send_message](https://developer.lofty.com/mcp/tools/send-message.md): Send an SMS or email to a lead, as the authenticated agent. - [notify_agent](https://developer.lofty.com/mcp/tools/notify-agent.md): Push an app notification, system SMS or system email to an internal agent, or fire an opportunity alert. - [manage_team_config](https://developer.lofty.com/mcp/tools/manage-team-config.md): Team and organization administration: custom fields, routing rules, offices, company details and agent accounts. - [manage_sales_agent](https://developer.lofty.com/mcp/tools/manage-sales-agent.md): Assign leads to a Sales Agent, or stop the Sales Agent working a lead. - [manage_webhooks](https://developer.lofty.com/mcp/tools/manage-webhooks.md): Subscribe or unsubscribe an event callback. - [generate_lead_insight](https://developer.lofty.com/mcp/tools/generate-lead-insight.md): Produce a call script, a prepare-insight, a call summary, or queue a lead analysis. - [manage_feature_areas](https://developer.lofty.com/mcp/tools/manage-feature-areas.md): Create a Feature Area (neighborhood or city community pages) on the caller's website. - [manage_page_seo](https://developer.lofty.com/mcp/tools/manage-page-seo.md): Change the SEO title, meta description and keywords of up to 10 website pages. - [Confirmation tiers](https://developer.lofty.com/mcp/guides/confirmation-tiers.md): The confirm_token protocol, and the threshold set per action rather than per tool. - [Bulk writes](https://developer.lofty.com/mcp/guides/bulk-writes.md): Array-shaped write arguments, capped at 10 enumerated records per call, with a per-record result. - [What the layer absorbs](https://developer.lofty.com/mcp/guides/what-the-layer-absorbs.md): Quirks found while mapping all 154 operations — none of which reach the model. - [Troubleshooting](https://developer.lofty.com/mcp/guides/troubleshooting.md): Common issues when calling the Lofty MCP server, and how to resolve them. - [2026](https://developer.lofty.com/changelog/2026.md) - [2025](https://developer.lofty.com/changelog/2025.md) - [2024](https://developer.lofty.com/changelog/2024.md) - [2023](https://developer.lofty.com/changelog/2023.md) - [Changelog feed](https://developer.lofty.com/changelog/feed.md): One entry per Lofty Developer API change, plus a monthly rollup. Subscribe at /changelog/feed/rss.xml. ## OpenAPI Specs - [openapi](/openapi/openapi.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.