Space Resource
A space is a community or server on Duvet, similar to a Discord server. Spaces contain rooms, roles, members, emojis, and stickers.
Space Object
| Field | Type | Description |
|---|---|---|
id | string | The space's UUID (v7, time-ordered) |
name | string | The name of the space |
description | string? | The space's description |
owner_id | string | The UUID of the user who owns the space |
banner | string? | Banner attachment ID |
locale | string? | The space's preferred locale |
icon | string? | Icon attachment ID |
created_at | ISO 8601 | When the space was created |
updated_at | ISO 8601 | When the space was last updated |
deleted_at | string? | ISO 8601 soft-delete timestamp |
Example
{
"id": "019cf96a-4a2e-7b1d-9e3f-1a2b3c4d5e6f",
"name": "Duvet Lounge",
"description": "The official Duvet community space",
"owner_id": "019cf96a-3d5b-72c5-830f-75e85355d078",
"banner": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"locale": "en-US",
"icon": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"created_at": "2025-11-01T10:00:00.000Z",
"updated_at": "2026-03-15T18:30:00.000Z",
"deleted_at": null
}