> For the complete documentation index, see [llms.txt](https://developer.siteminder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.siteminder.com/direct-booking-api/reference/room-types.md).

# Room Types

Returns all Room Types for a select SiteMinder Direct Booking property within your group.

{% hint style="info" %}
**API:** Direct Booking · **Operation:** Room Types · **Direction:** SM → Property · **Method:** Pull (Property-initiated)
{% endhint %}

## Retrieve property room types

> Retrieve all room types for a property.<br>

```json
{"openapi":"3.1.0","info":{"title":"Direct Booking API","version":"0.0.1"},"security":[{"apiKey":[]}],"components":{"securitySchemes":{"apiKey":{"type":"apiKey","name":"x-sm-api-key","in":"header"}},"schemas":{"PaginatedRoomTypeList":{"allOf":[{"$ref":"#/components/schemas/Pagination"},{"type":"object","additionalProperties":false,"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/RoomType"}}},"required":["results"]}]},"Pagination":{"type":"object","additionalProperties":false,"properties":{"page":{"description":"page number","type":"integer"},"perPage":{"description":"number of records per page","type":"integer"},"total":{"description":"total number of records","type":"integer"},"totalPages":{"description":"total number of pages","type":"integer"}},"required":["page","perPage","total","totalPages"]},"RoomType":{"type":"object","additionalProperties":false,"required":["uuid","name","description","category","roomSize","roomSizeUnit","bathroomQuantity","maxOccupancy","maxAdultOccupancy","maxChildOccupancy","maxInfantOccupancy","code","categoryCode","smokingPolicy"],"properties":{"uuid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string","pattern":"^[a-zA-Z0-9]+$","minLength":10}],"description":"Unique identifier for the room type."},"name":{"type":"string","minLength":1,"maxLength":50,"description":"room type name"},"description":{"type":"string","minLength":1,"nullable":true,"description":"Free-text description of the room type."},"category":{"type":"string","nullable":true,"description":"Simplified room category used by SiteMinder."},"roomSize":{"type":"number","nullable":true,"minimum":1,"maximum":99999.99,"description":"room size"},"roomSizeUnit":{"type":"string","enum":["m^2","ft^2",null],"description":"room size units"},"bathroomQuantity":{"type":"string","enum":["1","1.5","2","2.5","3","3.5","4","4.5","5","5.5","6","6.5","7","7.5","8","8.5","9","9.5","10","10.5","shared",null],"description":"Number of bathrooms, or \"shared\" when the room type has a shared bathroom."},"maxOccupancy":{"type":"integer","description":"Maximum total number of guests permitted in the room."},"maxAdultOccupancy":{"type":"integer","description":"Maximum number of adults permitted in the room."},"maxChildOccupancy":{"type":"integer","description":"Maximum number of children permitted in the room."},"maxInfantOccupancy":{"type":"integer","description":"Maximum number of infants permitted in the room."},"code":{"type":"string","nullable":true,"description":"Room type display name code as configured in the property."},"categoryCode":{"type":"string","nullable":true,"description":"Raw room category code as configured in the property."},"smokingPolicy":{"type":"string","nullable":true,"enum":["smoking","non_smoking",null],"description":"Smoking policy for the room type. When the property is set to smoke-free or non-smoking rooms, this is non_smoking for every room type, regardless of the room type's own setting. Otherwise it is the room type's own setting, or null if it has none.\n"}}}},"responses":{"BadRequest":{"description":"Bad Request","headers":{"X-SM-TRACE-TOKEN":{"description":"SiteMinder trace token","schema":{"$ref":"#/components/responses/NotFound/headers/X-SM-TRACE-TOKEN/schema"}}},"content":{"application/json":{"schema":{"$ref":"#/components/responses/NotFound/content/application~1json/schema"}}}},"NotFound":{"description":"The specified resource was not found","headers":{"X-SM-TRACE-TOKEN":{"description":"SiteMinder trace token","schema":{"type":"string","description":"Character string with length 1 to 36 and with uuid format","minLength":1,"maxLength":36,"format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["errors"],"properties":{"errors":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["message","name"],"properties":{"message":{"type":"string"},"name":{"type":"string"},"meta":{"type":"object","description":"Error metadata"}}}}}}}}},"NotAuthorised":{"description":"Not Authorised","headers":{"X-SM-TRACE-TOKEN":{"description":"SiteMinder trace token","schema":{"$ref":"#/components/responses/NotFound/headers/X-SM-TRACE-TOKEN/schema"}}},"content":{"application/json":{"schema":{"$ref":"#/components/responses/NotFound/content/application~1json/schema"}}}},"AccessDenied":{"description":"Access Denied","headers":{"X-SM-TRACE-TOKEN":{"description":"SiteMinder trace token","schema":{"$ref":"#/components/responses/NotFound/headers/X-SM-TRACE-TOKEN/schema"}}},"content":{"application/json":{"schema":{"$ref":"#/components/responses/NotFound/content/application~1json/schema"}}}},"RateLimited":{"description":"Rate Limited","headers":{"X-SM-TRACE-TOKEN":{"description":"SiteMinder trace token","schema":{"$ref":"#/components/responses/NotFound/headers/X-SM-TRACE-TOKEN/schema"}}},"content":{"application/json":{"schema":{"$ref":"#/components/responses/NotFound/content/application~1json/schema"}}}},"InternalServerError":{"description":"Internal Server Error","headers":{"X-SM-TRACE-TOKEN":{"description":"SiteMinder trace token","schema":{"$ref":"#/components/responses/NotFound/headers/X-SM-TRACE-TOKEN/schema"}}},"content":{"application/json":{"schema":{"$ref":"#/components/responses/NotFound/content/application~1json/schema"}}}}},"parameters":{"apiKey":{"name":"x-sm-api-key","in":"header","schema":{"type":"string"},"required":true,"description":"API key used to authenticate the request."},"propertyUuid":{"in":"path","name":"propertyUuid","required":true,"schema":{"type":"string"},"description":"UUID for a property."},"page":{"in":"query","name":"page","description":"page number (defaults to 1)","schema":{"type":"integer","default":1,"minimum":1}},"perPage":{"in":"query","name":"perPage","description":"items per page (defaults to 10)","schema":{"type":"integer","default":10,"minimum":1,"maximum":50}}}},"paths":{"/properties/{propertyUuid}/room-types":{"get":{"tags":["room-types:read"],"operationId":"listRoomTypes","summary":"Retrieve property room types","description":"Retrieve all room types for a property.\n","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRoomTypeList"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/NotAuthorised"},"403":{"$ref":"#/components/responses/AccessDenied"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalServerError"}},"parameters":[{"$ref":"#/components/parameters/apiKey"},{"$ref":"#/components/parameters/propertyUuid"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/perPage"}]}}}}
```

{% hint style="success" icon="sparkles" %}

## Still have questions?

Use the <i class="fa-gitbook-assistant">:gitbook-assistant:</i> **Ask** button at the top of the page to chat with our AI assistant — it can help you navigate the guide, understand requirements, and troubleshoot issues.

If you need more support, visit [Integration Support](/integration-support/integration-support.md).
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developer.siteminder.com/direct-booking-api/reference/room-types.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
