Space Docs
API ReferenceSpace

space.create

Type: Mutation · Auth: Workspace-aware

Input

FieldTypeRequiredDefaultDescription
siteIdstringYes—ID of the associated site
parentSpaceIdstringNo—ID of the associated parent space
spaceTypeenum(building, floor, wing, room, closet, rack, parking_area, exterior, other)Yes—Space type
namestringYes—Name
floorstringNo—Floor
roomNumberstringNo—Room number
descriptionstringNo—Description
workspaceIdstringNo—ID of the associated workspace
visibilityModeunknownNo—Visibility mode

Example

{
  "siteId": "550e8400-e29b-41d4-a716-446655440000",
  "parentSpaceId": "550e8400-e29b-41d4-a716-446655440000",
  "spaceType": "building",
  "name": "Example Name",
  "floor": "example",
  "roomNumber": "example"
}

On this page