Rooms API
Define the interior layout of rental units — bedrooms, living rooms, kitchens, bathrooms. Room details appear on the lease document and are required for habitable surface area calculations under French law.
Quick Example
Code
Common Workflows
Define a T2 apartment layout
POST rooms— Sejour (18.5 m2)POST rooms— Chambre (12.0 m2)POST rooms— Cuisine (8.0 m2)POST rooms— Salle de bain (4.5 m2)
Tip: Get room types with
GET /api/types/rooms. Thecounts_towards_habitableflag determines which rooms count toward surface habitable (living area under French law).
Overview
Rooms are the most granular level in the property hierarchy (Places > Estates > Rooms) and provide:
- Space Management: Detailed room-by-room property layouts
- Room Types: Categorization by function (bedroom, bathroom, kitchen, etc.)
- Area Tracking: Square footage and dimensions for each room
- Feature Management: Room-specific features and amenities
- Equipment Integration: Room-level equipment and fixtures
Authentication
All endpoints require authentication with PropertiesRead, PropertiesWrite, or PropertiesDelete permissions.
Base URL
Room endpoints are nested: /api/places/{place_id}/estates/{estate_id}/rooms
Core Operations
List Rooms
GET /api/places/{place_id}/estates/{estate_id}/rooms
Response:
Code
Create Room
POST /api/places/{place_id}/estates/{estate_id}/rooms
Request:
Code
Get Room
GET /api/places/{place_id}/estates/{estate_id}/rooms/{room_id}
Update Room
PUT /api/places/{place_id}/estates/{estate_id}/rooms/{room_id}
Delete Room
DELETE /api/places/{place_id}/estates/{estate_id}/rooms/{room_id}
Room Types
Common room types include:
Bedroom- Sleeping roomsBathroom- Full bathroomsKitchen- Cooking areasLivingRoom- Main living spacesDiningRoom- Dining areasOffice- Work spacesStorage- Storage areasBalcony- Outdoor spacesGarage- Parking spaces
Features and Amenities
Rooms can have various features:
- Bedroom:
EnSuiteBathroom,BuiltInWardrobe,Balcony - Kitchen:
Island,Dishwasher,InductionHob,Oven - Bathroom:
Bathtub,Shower,DoubleBasin,ToiletSeparate - General:
AirConditioning,Heating,NaturalLight
Error Responses
400 Bad Request
Code
404 Not Found
Code
Common Use Cases
- Property Layout: Create detailed floor plans with room-by-room breakdown
- Space Management: Track usable area and room functions
- Equipment Assignment: Associate equipment with specific rooms
- Rental Marketing: Highlight room features in property listings
Integration Notes
- Equipment: Rooms can contain equipment and fixtures
- Area Calculations: Room areas contribute to estate total area
- Property Hierarchy: Rooms must belong to valid estates within places