Tenants



Base URL

https://api.rentila.com/landlord/tenants

Endpoints

1. Get List of Tenants

URL:
GET https://api.rentila.com/landlord/tenants/list
Description: Retrieves a list of tenants associated with the landlord.
Response Example:
{
"code": 200,
"status": "success",
"data": {
"tenants": [
{
"TenantID": 12345,
"TenantName": "John Doe",
"TenantType": "person",
"PropertyTitle": "Apartment 1",
"TenantMobilePhone": "+123456789",
"TenantEmail": "johndoe@example.com",
"TenantBalance": 1000.50,
"TenantStatus": "active"
}
]
},
"message": "OK"
}


2. Get Tenant Details

URL:
GET https://api.rentila.com/landlord/tenants/details?id={TenantID}
Description: Retrieves detailed information about a specific tenant.
Response Example:
{
"code": 200,
"status": "success",
"data": {
"tenant": {
"TenantID": 12345,
"TenantName": "John Doe",
"TenantType": "person",
"PropertyTitle": "Apartment 1",
"TenantMobilePhone": "+123456789",
"TenantEmail": "johndoe@example.com",
"TenantBalance": 1000.50,
"TenantStatus": "active",
"TenantProperties": ["Apartment 1", "Studio 5"],
"TenantLateRents": 1
}
},
"message": "OK"
}