> 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","includedOccupancy","smokingPolicy"],"properties":{"uuid":{"type":"string","format":"uuid","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."},"includedOccupancy":{"type":"integer","description":"Number of guests included in the base rate without additional charge."},"smokingPolicy":{"type":"string","nullable":true,"enum":["smoking","non_smoking",null],"description":"room-level smoking policy, null when not configured"}}}},"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 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://developer.siteminder.com/direct-booking-api/reference/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.
