Guild Rooms

Guild rooms contain spatial user state and interactive objects for a guild voice channel.

Guild Room Object

A guild room contains the room's background, connected users, and interactive objects.

Guild Room Structure
FieldTypeDescription
room_idsnowflakeThe ID of the room
usersarray[guild room user object]The users connected to the room
backgroundintegerThe background type of the room
objectsmap[string, array[guild room object]]The room objects, keyed by object type
Guild Room User Structure
FieldTypeDescription
user_idsnowflakeThe ID of the user
positionguild room position objectThe user's position in the room
status_idintegerThe ID of the user's room status
status_textstringThe text of the user's room status
Guild Room Position Structure
FieldTypeDescription
xfloatThe horizontal position as a percentage value
yfloatThe vertical position as a percentage value
Guild Room Object Structure
FieldTypeDescription
object_idsnowflakeThe ID of the room object
object_typeintegerThe type of room object
created_bysnowflakeThe ID of the user who created the room object
updated_at?ISO8601 timestampWhen the room object was last updated
updated_bysnowflakeThe ID of the user who last updated the room object
content? 1stringThe text displayed by the note
position? 1guild room position objectThe position of the note in the room

1 Only included when object_type is NOTE.

Guild Room Object Type
ValueNameDescription
1NOTEA user-created note
2PLANTAn interactive plant
Guild Room Background Type
ValueNameDescription
0DEFAULTThe default room background
Example Guild Room
{
"room_id": "1284759012345678901",
"users": [
{
"user_id": "803511102246789120",
"position": { "x": 49.5, "y": 10 },
"status_id": 0,
"status_text": ""
}
],
"background": 0,
"objects": {
"1": [
{
"object_id": "1284759123456789012",
"object_type": 1,
"created_by": "803511102246789120",
"updated_at": "2026-08-12T16:24:31.000000+00:00",
"updated_by": "803511102246789120",
"content": "Game night at 8 PM",
"position": { "x": 65.2, "y": 42.8 }
}
],
"2": []
}
}

Endpoints

Get Guild Room

GET/guilds/{guild.id}/rooms/{room.id}

Returns a guild room object.

Connect Guild Room

POST/guilds/{guild.id}/rooms/{room.id}/connect

Connects the current user to a guild room. Returns the updated guild room object on success.

JSON Params
FieldTypeDescription
positionguild room position objectThe initial position of the current user (default {"x":0,"y":0})

Update Guild Room

POST/guilds/{guild.id}/rooms/{room.id}/update

Modifies the room background or the current user's room state. Returns the updated guild room object on success.

JSON Params
FieldTypeDescription
background?integerThe background type of the room
user_position?guild room position objectThe current user's position in the room
user_status_id?integerThe ID of the current user's room status
user_status_text?stringThe text of the current user's room status

Create Guild Room Object

POST/guilds/{guild.id}/rooms/{room.id}/objects

Creates an object in the room.

JSON Params
FieldTypeDescription
object_typeintegerThe type of room object
content? 1stringThe text displayed by the note
position? 1guild room position objectThe position of the note in the room

1 Used when object_type is NOTE.

Update Guild Room Object

POST/guilds/{guild.id}/rooms/{room.id}/objects/{object.id}/update

Modifies an object in the room.

JSON Params
FieldTypeDescription
object_typeintegerThe type of room object

Delete Guild Room Object

DELETE/guilds/{guild.id}/rooms/{room.id}/objects/{object.id}

Deletes an object from the room.

JSON Params
FieldTypeDescription
object_typeintegerThe type of room object