GET /v1/rooms/{id}

Get room details

Returns detailed information about a specific room

Request

GET /v1/rooms/{id}

Parameters

[ { "schema": { "type": "string" }, "required": true, "name": "id", "in": "path" } ]

Response

{ "200": { "description": "Room details retrieved successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "success": { "type": "boolean" }, "data": { "type": "object", "properties": { "room": { "type": "object", "properties": { "id": { "type": "string" }, "company_id": { "type": "string" }, "property_id": { "type": "string" }, "name": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "room_type": { "type": "string" }, "max_occupancy": { "type": "number" }, "bed_count": { "type": "number" }, "bathroom_count": { "type": "number" }, "size_sqm": { "type": [ "number", "null" ] }, "floor": { "type": [ "number", "null" ] }, "amenities": { "type": "array", "items": { "type": "string" } }, "images": { "type": "array", "items": { "type": "string" } }, "base_price_cents": { "type": "number" }, "external_mappings": {}, "status": { "type": "string" }, "created_at": { "type": "string" }, "updated_at": { "type": "string" }, "property": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "address": { "type": [ "string", "null" ] }, "property_type": { "type": [ "string", "null" ] } }, "required": [ "id", "name", "address", "property_type" ] }, "company": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" } }, "required": [ "id", "name" ] } }, "required": [ "id", "company_id", "property_id", "name", "description", "room_type", "max_occupancy", "bed_count", "bathroom_count", "size_sqm", "floor", "amenities", "images", "base_price_cents", "status", "created_at", "updated_at", "property", "company" ] } }, "required": [ "room" ] } }, "required": [ "success", "data" ] } } } }, "404": { "description": "Room not found" } }

View in Interactive API Reference