LeaseCommand API Reference

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.

Version
1.2.0
Base URL
https://app.leasecommand.com/api/external/v1
Specification
OpenAPI 3.0
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

MethodPathPurpose
GET/schemaAll 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

MethodPathPurpose
GET/summaryAccount overview: site, active lease, contract, counterparty and critical-date counts, plus leases expiring within 90 days

Sites 8 operations

MethodPathPurpose
GET/sitesList all sites, paginated and filterable
POST/sitesCreate a site
GET/sites/{id}Get site details
PATCH/sites/{id}Update a site
GET/sites/{id}/contactsList contact assignments for a site, with each contact role
POST/sites/{id}/contactsAssign an existing contact to a site in a role
POST/sites/{id}/contacts/create-and-assignCreate 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

MethodPathPurpose
GET/leasesList leases, filterable by site and primary status
POST/leasesCreate a lease
GET/leases/{id}Get lease details with critical dates
PATCH/leases/{id}Update a lease
GET/leases/{id}/rent-schedulesRent schedule lines: base rent, free rent, incentives, CAM fixed and variable, tax and insurance

Contracts 5 operations

MethodPathPurpose
GET/contractsList contracts, filterable by status and counterparty
POST/contractsCreate a contract
GET/contracts/{id}Get contract details
PATCH/contracts/{id}Update a contract
POST/contracts/{id}/documentsAttach a file to a contract — PDF, DOC, DOCX, JPEG, PNG or TIFF, up to 50 MB

Contacts 5 operations

MethodPathPurpose
GET/contactsList contacts, searchable by name, email or company
POST/contactsCreate 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

MethodPathPurpose
GET/counterpartiesList counterparties, filterable by type
POST/counterpartiesCreate a counterparty
GET/counterparties/{id}Get counterparty details
PATCH/counterparties/{id}Update a counterparty

Accounting 6 operations · requires the accounting:read scope

MethodPathPurpose
GET/accounting-profilesLease 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-schedulesAmortization 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-entriesJournal 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

MethodPathPurpose
GET/cam/periodsCAM, tax and insurance reconciliation periods with line items and settlements
GET/cam/periods/{id}Full period detail including lease allocations
GET/cam/annual-budgetsAnnual budgets with their monthly billing schedules

Approvals 3 operations

MethodPathPurpose
GET/approvalsApproval requests with workflow, submitter and resolved entity details
GET/approvals/{id}Stage-by-stage progress and e-signature state
GET/approvals/{id}/actionsFull 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

MethodPathPurpose
POST/ai-importSubmit 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

MethodPathPurpose
GET/critical-datesCombined lease and contract critical dates, filterable by date range and kind
GET/expensesExpenses, 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

More on integrations

For the full picture — the Copliancy product family, accounting and ERP connections, the REST API and webhooks — see LeaseCommand integrations.