{ "ticket_id": "mnt_10021", "unit_id": "unit_7C", "description": "Water leaking under the kitchen sink for two days", "photos": ["https://files.casaai.dev/img/leak1.jpg"], "priority_hint": "high"}
Copy
{ "ticket_id": "mnt_10021", "unit_id": "unit_7C", "description": "Water leaking under the kitchen sink for two days", "severity": "urgent", "vendor_assigned": "vendor_plumb_pro"}
Endpoint examples
Create Maintenance Ticket
POST
/
api
/
v1
/
maintenance
Copy
{ "ticket_id": "mnt_10021", "unit_id": "unit_7C", "description": "Water leaking under the kitchen sink for two days", "photos": ["https://files.casaai.dev/img/leak1.jpg"], "priority_hint": "high"}
Copy
{ "ticket_id": "mnt_10021", "unit_id": "unit_7C", "description": "Water leaking under the kitchen sink for two days", "severity": "urgent", "vendor_assigned": "vendor_plumb_pro"}
Create a maintenance ticket with description and optional photos. CasaAI will classify severity and category, then dispatch according to your rules.
Copy
{ "ticket_id": "mnt_10021", "unit_id": "unit_7C", "description": "Water leaking under the kitchen sink for two days", "photos": ["https://files.casaai.dev/img/leak1.jpg"], "priority_hint": "high"}
Copy
{ "ticket_id": "mnt_10021", "unit_id": "unit_7C", "description": "Water leaking under the kitchen sink for two days", "severity": "urgent", "vendor_assigned": "vendor_plumb_pro"}