Developer reference
Every endpoint in the LeaseCommand REST API, with its method and purpose — 46 operations across 34 paths. For request and response schemas, parameters and live examples, the interactive API documentation is the canonical source.
Base URL
https://app.leasecommand.com/api/external/v1
Endpoints
46 operations across 34 paths
Authentication
API key as a bearer token, or OAuth 2.0 client credentials
Rate limit
60 requests per minute per key by default, configurable per key
This reference reflects API version 1.2.0 as published on 15 October 2026. The interactive documentation is generated from the live specification and is authoritative wherever the two differ.
Endpoints
Schema 2 operations · programmatic discovery
| Method | Path | Purpose |
|---|
| GET | /schema | All enum values, field definitions and webhook event types |
| GET | /schema/{module} | Field definitions and enums for one module — site, lease, contract or counterparty |
Summary 1 operation
| Method | Path | Purpose |
|---|
| GET | /summary | Account overview: site, active lease, contract, counterparty and critical-date counts, plus leases expiring within 90 days |
Sites 8 operations
| Method | Path | Purpose |
|---|
| GET | /sites | List all sites, paginated and filterable |
| POST | /sites | Create a site |
| GET | /sites/{id} | Get site details |
| PATCH | /sites/{id} | Update a site |
| GET | /sites/{id}/contacts | List contact assignments for a site, with each contact role |
| POST | /sites/{id}/contacts | Assign an existing contact to a site in a role |
| POST | /sites/{id}/contacts/create-and-assign | Create a contact and assign it to a site role in one atomic call |
| DELETE | /sites/{id}/contacts/{role} | Remove a contact assignment from a site, keeping the contact record |
Leases 5 operations
| Method | Path | Purpose |
|---|
| GET | /leases | List leases, filterable by site and primary status |
| POST | /leases | Create a lease |
| GET | /leases/{id} | Get lease details with critical dates |
| PATCH | /leases/{id} | Update a lease |
| GET | /leases/{id}/rent-schedules | Rent schedule lines: base rent, free rent, incentives, CAM fixed and variable, tax and insurance |
Contracts 5 operations
| Method | Path | Purpose |
|---|
| GET | /contracts | List contracts, filterable by status and counterparty |
| POST | /contracts | Create a contract |
| GET | /contracts/{id} | Get contract details |
| PATCH | /contracts/{id} | Update a contract |
| POST | /contracts/{id}/documents | Attach a file to a contract — PDF, DOC, DOCX, JPEG, PNG or TIFF, up to 50 MB |
Contacts 5 operations
| Method | Path | Purpose |
|---|
| GET | /contacts | List contacts, searchable by name, email or company |
| POST | /contacts | Create a contact |
| GET | /contacts/{id} | Get contact details |
| PATCH | /contacts/{id} | Update a contact |
| DELETE | /contacts/{id} | Delete a contact and remove all its site assignments |
Counterparties 4 operations · landlords and vendors
| Method | Path | Purpose |
|---|
| GET | /counterparties | List counterparties, filterable by type |
| POST | /counterparties | Create a counterparty |
| GET | /counterparties/{id} | Get counterparty details |
| PATCH | /counterparties/{id} | Update a counterparty |
Accounting 6 operations · requires the accounting:read scope
| Method | Path | Purpose |
|---|
| GET | /accounting-profiles | Lease accounting profiles, filterable by ASC 842, IFRS 16, GASB 87 or GASB 96 |
| GET | /accounting-profiles/{id} | One profile: classification, discount rate, ROU asset and lease liability |
| GET | /amortization-schedules | Amortization rows, scoped by profile or lease and filterable by period |
| GET | /amortization-schedules/{id} | One row, with all liability and ROU asset balances |
| GET | /journal-entries | Journal entry headers, filterable by lease, status, fiscal year or date range |
| GET | /journal-entries/{id} | One journal entry including every line item |
CAM reconciliations 3 operations
| Method | Path | Purpose |
|---|
| GET | /cam/periods | CAM, tax and insurance reconciliation periods with line items and settlements |
| GET | /cam/periods/{id} | Full period detail including lease allocations |
| GET | /cam/annual-budgets | Annual budgets with their monthly billing schedules |
Approvals 3 operations
| Method | Path | Purpose |
|---|
| GET | /approvals | Approval requests with workflow, submitter and resolved entity details |
| GET | /approvals/{id} | Stage-by-stage progress and e-signature state |
| GET | /approvals/{id}/actions | Full audit trail of approvals, rejections, change requests and recalls |
Approving, rejecting and requesting changes are deliberately not available by API key: those actions require a verified human actor so the audit trail records who decided what, and they are taken in the LeaseCommand application.
AI import 2 operations
| Method | Path | Purpose |
|---|
| POST | /ai-import | Submit a PDF, DOC or DOCX for AI lease or contract extraction |
| GET | /ai-import/{batchId} | Poll extraction status and progress, then follow the review link |
Critical dates and expenses 2 operations
| Method | Path | Purpose |
|---|
| GET | /critical-dates | Combined lease and contract critical dates, filterable by date range and kind |
| GET | /expenses | Expenses, filterable by site, lease and date range |
Webhook events
LeaseCommand emits 19 webhook events to an HTTPS destination you register. These are the event identifiers that arrive in the payload:
LEASE_CREATED LEASE_UPDATED LEASE_DELETED CONTRACT_CREATED CONTRACT_UPDATED CONTRACT_DELETED SITE_CREATED SITE_UPDATED SITE_DELETED COUNTERPARTY_CREATED COUNTERPARTY_UPDATED COUNTERPARTY_DELETED EXPENSE_CREATED PAYMENT_RECEIVED INVOICE_CREATED JOURNAL_ENTRY_CREATED JOURNAL_ENTRY_POSTED JOURNAL_ENTRY_APPROVED AMORTIZATION_SCHEDULE_GENERATED
Delivery mechanics — the signature and delivery headers, the HTTPS requirement, retry behavior and the normalized payload shape — are covered on AI, API and automation.
Authentication and permissions
Two methods. An API key issued in the application is sent as a bearer token on each request. For server-to-server integrations, POST /api/oauth/token with grant_type=client_credentials returns a bearer token that expires after one hour.
The two methods carry permissions in their own vocabularies. OAuth tokens use 14 named scopes with read and write held separately: eight read scopes from leases:read to accounting:read, and six write scopes ending at ai-import:write. API keys use their own permission names, such as leasesWrite. In both cases a write permission requires the matching read permission to be enabled alongside it, and an API key cannot reach data a signed-in user of the same organization could not.
Pagination and rate limits
List endpoints accept ?page=1&limit=50, with a default of 50 records per page and a maximum of 100. Responses carry a pagination object containing page, limit, total and totalPages.
Each key is rate limited to 60 requests per minute by default, configurable per key. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset.
Related