Comprehensive API documentation for integrating with AssetsMena's AI-powered CRM platform. Build custom solutions and automate your real estate workflows.
curl -X POST https://api.assetsmena.com/api/auth/login \
-H "Content-Type: application/json" \
-d '{"email": "[email protected]", "password": "your-password"}'All API requests require an access token obtained through the login endpoint. Include the token in the Authorization header as a Bearer token.
https://api.assetsmena.com/apiAll API endpoints are relative to the base URL. Include your tenant ID in query parameters or headers for multi-tenant isolation.
Secure authentication and authorization for API access
/api/auth/loginAuthenticate user and get access token/api/auth/registerRegister new user account/api/auth/refreshRefresh access token/api/auth/logoutInvalidate access tokenManage real estate inventory and property listings
/api/propertiesGet all properties for tenant/api/properties/{id}Get specific property details/api/propertiesCreate new property/api/properties/{id}Update property information/api/projectsGet all projects/api/projects/{id}Get project detailsAI-powered lead management and customer relationship tools
/api/leadsGet all leads with AI scoring/api/leads/{id}Get specific lead details/api/leadsCreate new lead/api/leads/{id}Update lead information/api/opportunitiesGet sales opportunities/api/leads/{id}/scoreGet AI-powered lead scoreBroker management and commission tracking
/api/brokersGet all brokers/api/brokers/{id}Get broker details/api/brokersAdd new broker/api/broker-networkGet broker network data/api/broker-network/assignAssign lead to broker/api/commissionsGet commission dataPayment processing and financial management
/api/paymentsGet all payments/api/paymentsRecord new payment/api/payment-schedulesGet payment schedules/api/payments/initiateInitiate payment via Paymob/api/finance/reportsGet financial reportsAI-powered analytics and automation tools
/api/ai/analyticsGet AI-powered analytics/api/ai/recommendationsGet AI recommendations/api/ai/predictionsGet predictive insights/api/ai/automationTrigger AI automation/api/ai/insightsGet business insights// Authenticate and get leads
const response = await fetch('https://api.assetsmena.com/api/auth/login', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
email: '[email protected]',
password: 'password'
})
});
const { accessToken } = await response.json();
// Get leads with AI scoring
const leadsResponse = await fetch('https://api.assetsmena.com/api/leads?tenantId=1', {
headers: {
'Authorization': 'Bearer ' + accessToken,
'Content-Type': 'application/json',
}
});
const leads = await leadsResponse.json();
console.log('Leads with AI scores:', leads);import requests
# Authenticate
response = requests.post(
'https://api.assetsmena.com/api/auth/login',
json={
'email': '[email protected]',
'password': 'password'
}
)
token = response.json()['accessToken']
# Get properties
headers = {
'Authorization': 'Bearer ' + token,
'Content-Type': 'application/json'
}
properties = requests.get(
'https://api.assetsmena.com/api/properties?tenantId=1',
headers=headers
).json()
print('Properties:', properties)Start integrating with our AI-powered CRM platform. Get your API keys and begin building custom solutions for your real estate business.