AI-Powered Property Management APIs

Leaseora Developer API Documentation

Build intelligent property management solutions with our comprehensive REST APIs. Access properties, leases, tenants, AI insights, payments, and more through our developer-friendly endpoints.

50+
API Endpoints
99.9%
Uptime SLA
10k+
API Calls/Day
24/7
Support

Getting Started with Leaseora APIs

Build powerful property management applications with our comprehensive REST APIs. From properties and leases to AI-powered insights, everything you need is at your fingertips.

Make Your First API Call

Test your setup with a simple request to fetch your properties

cURL

Terminal
curl -X GET "https://leaseora.com/api/properties" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json"

JavaScript

JavaScript
const response = await fetch('https://leaseora.com/api/properties', { headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' } }); const data = await response.json();

Authentication

Leaseora API uses token-based authentication with Laravel Sanctum for secure access to your property data.

POST

/api/login

Authenticate with your Leaseora credentials to receive an API token.

Request Example

cURL
curl -X POST "https://leaseora.com/api/login" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com", "password": "password123" }'

Success Response

200 OK
{ "message": "Login successful", "user": { "id": 1, "email": "user@example.com", "name": "John Doe" }, "token": "1|abc123...xyz789" }

Properties API

Manage your property portfolio with full CRUD operations and AI-powered insights.

GET

/api/properties

Retrieve all properties owned by the authenticated user.

Request Example

cURL
curl -X GET "https://leaseora.com/api/properties" \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Accept: application/json"

Response Example

200 OK
[ { "id": 1, "name": "Sunset Apartments", "address": "123 Main Street", "property_type": "apartment", "units_count": 24, "monthly_rent": 2500.00, "currency": "EUR", "status": "active" } ]
POST

/api/properties

Create a new property in your portfolio.

Request Body
{ "name": "Downtown Loft", "address": "456 Oak Avenue", "property_type": "apartment", "units_count": 1, "monthly_rent": 1800.00, "currency": "EUR" }

Leases API

Manage lease agreements with comprehensive validation and property relationships.

GET

/api/leases

Retrieve lease agreements filtered by tenant with property details included.

Response Example
[ { "id": 1, "property_id": 1, "tenant_id": 5, "start_date": "2024-01-01", "end_date": "2024-12-31", "rent_amount": 2500.00, "status": "active", "property": { "name": "Sunset Apartments", "address": "123 Main Street" } } ]

AI Services API

Leverage Leaseora's AI-powered features for intelligent property management insights and recommendations.

POST

/api/ai/ask

Submit queries to our AI service for property-related insights and recommendations.

Request Example

Request Body
{ "query": "What is the optimal rent price for a 2-bedroom apartment in Berlin?" }

Response Example

200 OK
{ "status": "Processing query..." }
GET

/api/ai-insights/global

Public

Access the latest global AI insights and market predictions (no authentication required).

Response Example
[ { "id": 1, "insight": "Berlin rental market showing 3.2% growth", "confidence_score": 0.87, "created_at": "2024-01-15T10:30:00Z" } ]