Duvet DOCS
GitHub

Room Resource

A room is a channel within a space. Rooms can be text channels, voice channels, or categories that group other rooms.

Room Types

ValueNameDescription
1TextA text channel for messages
2VoiceA voice channel for audio chat
3CategoryA grouping container for rooms

Room Object

FieldTypeDescription
id stringThe room's UUID (v7, time-ordered)
space_id string?The UUID of the parent space (null for DM rooms)
parent_id string?The UUID of the parent category (null if top-level)
type integerThe room type (1 = text, 2 = voice, 3 = category)
name stringThe name of the room
description string?The room's topic or description
position integerSorting position within its parent
nsfw booleanWhether the room is marked as NSFW
created_at ISO 8601When the room was created
updated_at ISO 8601When the room was last updated
deleted_at string?ISO 8601 soft-delete timestamp

Categories only support name and position changes. Fields like description, parent_id, and permission overwrites are ignored for categories.

Example

{
  "id": "019cf96a-5b3f-7c2e-ae4f-2b3c4d5e6f70",
  "space_id": "019cf96a-4a2e-7b1d-9e3f-1a2b3c4d5e6f",
  "parent_id": "019cf96a-5100-7a1b-8c2d-3e4f5a6b7c8d",
  "type": 1,
  "name": "general",
  "description": "General discussion",
  "position": 0,
  "nsfw": false,
  "created_at": "2025-11-01T10:05:00.000Z",
  "updated_at": "2026-01-20T14:00:00.000Z",
  "deleted_at": null
}