API DOCUMENTATION
The DoorMax REST API
The same JSON API that powers the DoorMax web, iOS and Android apps. Authenticate with a bearer token; every request runs with that user's permissions.
Authentication
curl -X POST https://doormax.ai/api/auth/login \
-H "Content-Type: application/json" \
-d '{"email":"you@company.com","password":"…"}'
# → { "token": "…", "user": { … } }
curl https://doormax.ai/api/properties -H "Authorization: Bearer <token>"
Selected endpoints
| Method | Path | Description |
|---|---|---|
POST | /api/auth/login | Exchange email and password for a bearer token |
GET | /api/properties | Properties visible to the user, with buildings and unit counts |
GET | /api/maps/site/:propertyId | Site plan GeoJSON with linked buildings, units and assets |
GET | /api/work-orders | Work orders (filter by status, property, assignee) |
POST | /api/work-orders | Create a work order (AI triage applied) |
GET | /api/leases | Leases and signature status |
GET | /api/listings | Marketplace listings managed by your organization |
GET | /api/applications | Rental applications pipeline |
GET | /api/audit | Audit trail events |
GET | /feeds/listings.json | Public JSON Feed of live listings (no auth) — syndication-ready |
Errors
Errors return JSON {"error": "…"} with standard HTTP status codes. 402 means the feature needs a higher plan and includes an upgrade hint.
API keys, webhooks and GraphQL Roadmap
Organization API keys, outbound webhooks and a GraphQL endpoint are planned.