> For the complete documentation index, see [llms.txt](https://mobile-calendar.gitbook.io/v1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mobile-calendar.gitbook.io/v1/rest-api/room-types.md).

# Room Types

room-types

## GET /room-types

> Get all room types

```json
{"openapi":"3.0.0","info":{"title":"Public REST API v1 – mobile-calendar.com","version":"1.0.0"},"tags":[{"name":"room-types","description":"room-types"}],"servers":[{"url":"https://api.mobile-calendar.com/v1/public","description":"Production"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","description":"Pass the token in header: Authorization: Bearer <JWT>","bearerFormat":"JWT","scheme":"bearer"}},"schemas":{"RoomTypesResponse":{"description":"Response containing all room types","required":["data","meta"],"properties":{"data":{"description":"List of all available room types","type":"array","items":{"$ref":"#/components/schemas/RoomType"}},"meta":{"$ref":"#/components/schemas/MetaWithRuid"}},"type":"object"},"RoomType":{"description":"Room type configuration with specifications and amenities","required":["roomTypeId","type","description","singleBed","doubleBed","extraBed","square","maxAdults","maxChildren","maxPeople","equipment"],"properties":{"roomTypeId":{"description":"Unique room type identifier","type":"integer"},"type":{"description":"Room type category","type":"string","enum":["TWIN_ROOM","QUAD_ROOM","HOLIDAY_HOME","SINGLE_ROOM","DOUBLE_ROOM","SUITE","APARTMENT"]},"description":{"description":"Localized description map. Key 'default' is required. Other keys = ISO language codes.","type":"object","additionalProperties":{"type":"string"}},"singleBed":{"description":"Number of single beds","type":"integer"},"doubleBed":{"description":"Number of double beds","type":"integer"},"extraBed":{"description":"Number of extra beds available","type":"integer"},"square":{"description":"Room area in square meters","type":"integer"},"maxAdults":{"description":"Maximum number of adults","type":"integer"},"maxChildren":{"description":"Maximum number of children","type":"integer"},"maxPeople":{"description":"Maximum total number of people","type":"integer"},"equipment":{"description":"List of equipment/amenities available in this room type","type":"array","items":{"type":"string","enum":["AIR_CONDITIONING","KITCHENETTE","TELEVISION","BATHROOM","POOL","BALCONY","WASHING_MACHINE","KITCHEN_UTENSILS","BABY_CRIB","BLANKET","SCREEN","UMBRELLA","LOUNGER","CLOTHES_HANGER","DRYER","TOWELS","FLOOR_COVERING","FIREPLACE","HEATING","IRON","SAFE","DESK","BIDET","TOOTHBRUSH","SHAMPOO","HAIR_CONDITIONER","SOAP","RADIO","TABLE","WINE_GLASSES","CORKSCREW","WATER","GRILL","DISHWASHER","MINIBAR","REFRIGERATOR","COFFEE_MACHINE"]}}},"type":"object"},"MetaWithRuid":{"description":"Metadata with request tracking.","required":["ruid"],"properties":{"ruid":{"description":"Request Unique ID","type":"string","format":"uuid"}},"type":"object"},"ApiProblem401":{"description":"Missing authentication or invalid credentials.","allOf":[{"$ref":"#/components/schemas/ApiProblemBase"},{"properties":{"type":{"description":"401 Unauthorized","type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"}},"type":"object"}]},"ApiProblemBase":{"description":"RFC 7807 Problem Details (base schema).","required":["type","title","status","detail","instance"],"properties":{"type":{"description":"RFC 7807 base — DO NOT use directly in endpoints.\nIn endpoints reference ApiProblem400/401/403/409/422/429/500.","type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"}},"type":"object"}}},"paths":{"/room-types":{"get":{"tags":["room-types"],"summary":"Get all room types","operationId":"getRoomTypes","responses":{"200":{"description":"List of all available room types","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoomTypesResponse"}}}},"401":{"description":"Unauthorized - invalid or missing authentication token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiProblem401"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://mobile-calendar.gitbook.io/v1/rest-api/room-types.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
