> For the complete documentation index, see [llms.txt](https://developer.perculus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.perculus.com/v2-en/services/room-management/user-create-1.md).

# Get or Create Default Room

Below is a list of available parameters when creating a default room

<table data-full-width="false"><thead><tr><th width="155">Parameter</th><th width="126">Type</th><th width="128">Required</th><th width="102">Default</th><th>Description</th></tr></thead><tbody><tr><td>creator_email</td><td>string</td><td>Yes</td><td>n/a</td><td>Email address of the user who will own the room. Must be registered in the system</td></tr><tr><td>name</td><td>string</td><td>Yes</td><td>n/a</td><td>Room name</td></tr><tr><td>fallback_name</td><td>string</td><td>No</td><td>null</td><td>Alternative name to use if room name conflicts</td></tr><tr><td>lang</td><td>string</td><td>No</td><td>en-US</td><td>Room session language code(<a href="/pages/lsSvGzmzOzBbQwfL34jH">see</a>)</td></tr><tr><td>options</td><td><a href="/pages/cQpTnQcpJmixOvnTB4vP">Session Options Object</a></td><td>No</td><td><em>See object</em></td><td>Room session options(<a href="/pages/cQpTnQcpJmixOvnTB4vP">see</a>)</td></tr></tbody></table>

{% hint style="warning" %}
&#x20;**General:**

* Each user can have only one default room
* When the room is created, the creator\_email owner is automatically added as a instructor

**name parameter:**

* The name parameter must be unique for a room

**creator\_email parameter:**

* Must be in valid email format
* The specified email address must belong to a user registered in the system
  {% endhint %}

**Example request**

{% tabs %}
{% tab title="CURL" %}

```bash
curl -L -X POST 'https://<DOMAIN>/api/groups/xapi/room/default' \
-H 'Content-Type: application/json' \
--data-raw '{
  "name": "Test Room",
  "fallback_name": "Test Room  Fallback",
  "lang": "en-US",
  "creator_email": "test@example.com",
  "options": {
    "allow_rating": true,
    "preparation_time": 15,
    "session_duration": 60,
    "Chat": {
      "OffMessageModule": false,
      "OffGeneralMsging": false,
      "OffGeneralMsgLimitForUser": false,
      "OffSpecialMsging": false,
      "OffSpecialMsgToAdmin": false,
      "OffSpecialMsgToUser": false,
      "OffNewMsgSound": false,
      "OffClearForReplay": false,
      "OnNewMsgSoundInAll": false,
      "OnNewMsgNotifyInAll": false
    },
    "Duration": {
      "AllowExtendTime": true,
      "UseRemainingTime": false
    },
    "allow_users_stream_self_cam_mic": true,
    "hide_user_streams": false,
    "enable_attendance_check": true,
    "enable_simultaneous_interpretation": false,
    "enable_simultaneous_interpretation_for_users": false,
    "start_active": false,
    "return_url": "",
    "allow_reactions": true
  }
}'
```

{% endtab %}
{% endtabs %}

**Example response**

{% hint style="info" %}
You need to save the `ROOM_GUID` parameter to perform other operations related to the room
{% endhint %}

* If the user's default room **already exists**, returns the existing room with `200 OK`
* If the user's default room **does not exist**, creates a new one and returns with `201 Created`

A successful response returns the following body:

```json
{
  "room_guid": "B5530B7F-6414-4046-87A6-67730D5F9F08",
  "name": "Test Room",
  "lang": "en-US",
  "url": "https://yourdomain.com/groups/room/test-room_{0}",
  "created_date": "2025-08-19T12:59:00",
  "ui_options": {
    "allow_rating": true,
    "preparation_time": 15,
    "session_duration": 60,
    "chat": {
      "offMessageModule": false,
      "offGeneralMsging": false,
      "offGeneralMsgLimitForUser": false,
      "offSpecialMsging": false,
      "offSpecialMsgToAdmin": false,
      "offSpecialMsgToUser": false,
      "offNewMsgSound": false,
      "offClearForReplay": false,
      "onNewMsgSoundInAll": false,
      "onNewMsgNotifyInAll": false
    },
    "duration": {
      "allowExtendTime": true,
      "useRemainingTime": false
    },
    "allow_users_stream_self_cam_mic": true,
    "hide_user_streams": false,
    "enable_attendance_check": true,
    "enable_simultaneous_interpretation": false,
    "enable_simultaneous_interpretation_for_users": false,
    "start_active": false,
    "return_url": "",
    "allow_reactions": true
  }
}

```
