---
title: "List room types"
url: "https://portal.konghotels.cloud/apis/kong-hotels-partner-api-1/versions/23cc133a-2f87-4d55-9490-0b8b2bb7dd78/operations/listRoomTypes"
---

> Full API specification: https://portal.konghotels.cloud/apis/kong-hotels-partner-api-1/versions/23cc133a-2f87-4d55-9490-0b8b2bb7dd78.md

# List room types

`GET` `/properties/{propertyCode}/room-types`

Operation ID: `listRoomTypes`

## Path parameters

- `propertyCode` (string, required) - Property code (case-insensitive).

## Responses

- `200` - Room types, cheapest first.
- `404` - Not found, or owned by another partner.

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Kong Hotels Partner API
  version: 1.0.0
servers:
  - url: https://api.konghotels.cloud
    description: Kong Gateway
paths:
  /properties/{propertyCode}/room-types:
    get:
      tags:
        - Rooms & Rates
      operationId: listRoomTypes
      summary: List room types
      parameters:
        - $ref: "#/components/parameters/PropertyCode"
      responses:
        "200":
          description: Room types, cheapest first.
          headers:
            X-Request-ID:
              $ref: "#/components/headers/RequestId"
            X-RateLimit-Limit:
              $ref: "#/components/headers/RateLimitLimit"
            X-RateLimit-Remaining:
              $ref: "#/components/headers/RateLimitRemaining"
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: "#/components/schemas/RoomType"
        "404":
          $ref: "#/components/responses/NotFound"
security:
  - KongKeyAuth: []
  - KongConsumer: []
components:
  parameters:
    PropertyCode:
      name: propertyCode
      in: path
      required: true
      description: Property code (case-insensitive).
      schema:
        type: string
        examples:
          - KTNYC
  headers:
    RequestId:
      description: Correlation ID for support.
      schema:
        type: string
    RateLimitLimit:
      description: Requests allowed per minute in this bucket.
      schema:
        type: integer
    RateLimitRemaining:
      description: Requests left in the current window.
      schema:
        type: integer
  schemas:
    RoomType:
      type: object
      properties:
        code:
          type: string
          examples:
            - TWRK
        name:
          type: string
          examples:
            - Tower King
        description:
          type: string
        occupancy:
          type: object
          description: Limits per room. Every room needs at least one adult.
          properties:
            max_occupancy:
              type: integer
            max_adults:
              type: integer
            max_children:
              type: integer
        bed_configuration:
          type: string
          examples:
            - 1 king
        size_sqm:
          type: integer
        view:
          type:
            - string
            - "null"
        is_accessible:
          type: boolean
        is_smoking:
          type: boolean
        amenities:
          type: array
          items:
            type: string
        photos:
          type: array
          items:
            $ref: "#/components/schemas/Photo"
    Photo:
      type: object
      properties:
        url:
          type: string
          format: uri
        caption:
          type: string
        category:
          type: string
          examples:
            - exterior
            - lobby
            - room
            - pool
        room_type_code:
          type:
            - string
            - "null"
        width:
          type: integer
        height:
          type: integer
    Problem:
      type: object
      description: RFC 9457 problem details. Extra members (e.g. `available_units`,
        `restrictions`, `reasons`) may be present.
      required:
        - type
        - title
        - status
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        instance:
          type: string
        request_id:
          type: string
      additionalProperties: true
  responses:
    NotFound:
      description: Not found, or owned by another partner.
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/Problem"
          example:
            type: https://developers.konghotels.example/problems/not-found
            title: Resource not found
            status: 404
            detail: Property not found.
            instance: /properties/KXXXX
            request_id: 9a8b7c6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d
  securitySchemes:
    KongKeyAuth:
      type: apiKey
      in: header
      name: apikey
      description: Your API key, validated by Kong Gateway. The header name depends on
        the gateway's key-auth configuration.
    KongConsumer:
      type: apiKey
      in: header
      name: X-Consumer-ID
      description: "**Local development only.** Simulates the consumer identity Kong
        Gateway injects after authentication."
```
