> ## 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.

# Introduction

> The Lofty Developer API provides REST access to leads, listings, transactions, communications, tasks, and webhooks in Lofty's real estate CRM platform.

The Lofty Developer API is a RESTful API that gives you programmatic access to the Lofty real estate CRM platform. If you're building a third-party integration, automating lead workflows, syncing CRM data, or embedding real estate functionality into your own application, this API is your entry point.

## Base URL and versioning

All API requests are made to the following base URL:

```text theme={null}
https://api.lofty.com
```

The API exposes two versioned path prefixes:

| Version | Path prefix | Notes                                                                    |
| ------- | ----------- | ------------------------------------------------------------------------ |
| v1.0    | `/v1.0/`    | Current stable version for most endpoints                                |
| v2.0    | `/v2.0/`    | Available for select endpoints; check the API reference for availability |

## Authentication

Lofty supports **OAuth 2.0** and **API Keys** (personal access tokens).

| Method    | Use case                                    | Header                  |
| --------- | ------------------------------------------- | ----------------------- |
| OAuth 2.0 | Multi-tenant apps, third-party integrations | `Bearer <access_token>` |
| API Key   | Personal automation, scripts, CLI           | `token <api_key>`       |

**OAuth 2.0** — Three grant types: Authorization Code, PKCE (for SPAs), and Client Credentials (for server-to-server). Register your app in the [Developer Portal](https://api.lofty.com/vendor/frontend/static/index.html#/login).

**API Key** — User-scoped personal access tokens with configurable expiration and `THIRD_PARTY_OPERATION` scope. Used by the Lofty CLI as `LOFTY_CUSTOMER_KEY`. Generate yours under **Settings → Integrations → API**.

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Get credentials and make your first API call in minutes.
  </Card>

  <Card title="Lofty CLI" icon="terminal" href="/cli/install">
    Install the CLI for fast terminal-based API access.
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/leads/overview">
    115 endpoints across leads, tasks, listings, transactions, and more.
  </Card>

  <Card title="Webhooks" icon="bolt" href="/concepts/webhooks">
    Subscribe to real-time events when data changes.
  </Card>
</CardGroup>
