---
title: "Create RoomType"
method: POST
path: "/room_types"
tags: ["Room Type"]
---

# Create RoomType

`POST /room_types`

Create a new room type under the current operator. A room type is a group of interchangeable properties (rooms) sold as a single inventory pool. Optionally link existing properties at creation time via `property_ids` — each linked property must not already belong to another room type. Subject to the room type quantity limit of the operator's subscription (capped by the property quantity limit) and not available on Basic editions.

## Request body

- object
  - `title` string, required — Title of the new room type. Must be unique within the operator.
  - `property_ids` integer[] — Optional list of property ids to link to the new room type. Each property must belong to the operator and must not already be linked to another room type.

## Response `200`

The room type has been successfully created.

- object
  - `request_id` string, required — Unique identifier for the request.
  - `error_code` integer, required — Numeric error code representing the status of the response. A value of `200` indicates success. <br> See the [Error Codes](/reference/error-manual#error-codes) section for more information.
  - `error_msg` string, required — Message detailing the status of the response.
  - `data` object, required
    - `room_type_id` integer, required — Unique identifier of the newly created room type.

---

[API](https://skmtc.dev/hostex/apis/hostex-api.md) · [All operations](https://skmtc.dev/hostex/apis/hostex-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hostex/hostex-api/revisions/a3fa555dee66/schema)
