Skip to main content
POST
Create a maintenance ticket with description and optional photos. CasaAI will classify severity and category, then dispatch according to your rules.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
ticket_id
string
required
unit_id
string
required
description
string
required
photos
string[]
priority_hint
string

Response

200 - application/json

Ticket accepted

ticket_id
string
required
unit_id
string
required
description
string
required
severity
enum<string>
Available options:
emergency,
urgent,
standard
vendor_assigned
string | null