Skip to main content
A Space is a community container — a named area where users can post entities, discuss in threads, and interact under configurable membership and permission rules. Spaces support hierarchical nesting, customizable read/post permissions, and avatar and banner images. The API returns three space shapes depending on context:
  • Space — the standard shape, returned when fetching a list of spaces.
  • SpaceDetailed — returned when fetching a single space by ID, shortId, or slug. A superset of Space with added permission and hierarchy context.
  • SpacePreview — a minimal snapshot, never returned as a standalone response. Only appears embedded inside SpaceDetailed as the shape of parentSpace and each item in childSpaces[].

Space

SpaceDetailed

Returned when fetching a single space by ID, shortId, or slug. Includes all Space fields plus the following:

SpacePreview

A minimal space shape used only as an embedded reference — never returned directly by any endpoint. Appears as SpaceDetailed.parentSpace (the space one level up) and inside SpaceDetailed.childSpaces[] (spaces one level down).

SpaceMemberPermissions

Included in SpaceDetailed.memberPermissions for authenticated users who are members.

Visibility

visibility is a distinct axis from readingPermission. Visibility governs who can find and see the space object; reading permission says who may read the content inside it. In v7, visibility hides the space record only, and readingPermission is for your app to enforce: neither hides the entities, comments or other content inside the space (see Content inside a space).
unlisted is not access control. It only affects discoverability — it does not restrict who can read the content inside the space. In v7, private and readingPermission don’t restrict it either; see Content inside a space.

Who can see a space

A caller sees a space when they’re an active member of it, or when it isn’t private and they can see its parent. So the spaces under a private space are hidden too, except from the active members of that private space — and from the active members of a space further down, who see that space and what’s under it. The caller is the signed-in user. A service key that acts as a user (the userId or actingUserId the route takes, e.g. join, membership checks, user spaces, mutual spaces, event creation, reputation grants) sees what that user sees. A service key that doesn’t act as a user sees every space. Joining a private space answers 404, and there’s no endpoint that adds someone to it directly. People become active members of one in these ways:
  • Creating it: the creator is its admin. The active admins and moderators of the space it’s created under get the same role in it.
  • A moderator approving a join request that is still pending from when the user could see the space.
  • A moderator unbanning a banned member, which makes them active again.
  • Being given the admin or moderator role in a space above it, which makes them an active member of every space under it, except where they’re banned.

Where it applies

  • Single reads (by ID, slug, short ID), join, members, team, children, breadcrumb, delete, creating a space under it, and every admin/moderator route: a space the caller can’t see answers 404, before any permission check.
  • Check my membership returns the caller’s membership row in any status (so a banned user learns they’re banned); with no row, a space they can’t see answers 404.
  • Rules: a space the caller can’t see has no rules — list rules returns an empty list and fetch rule answers 404, as for a nonexistent space.
  • Lists across levels (Fetch Spaces without a specific parent, space search): only spaces that are public and have only public spaces above them, for every caller.
  • Lists under one parent (Fetch Spaces with parentSpaceId=<id>, Fetch Space Children, the childSpaces preview and childSpacesCount): the sub-spaces the caller can see that are public or that they’re an active member of. A service key that doesn’t act as a user gets the public ones.
  • User spaces and mutual spaces list only spaces that user can see; an active membership always counts. memberOf=true on Fetch Spaces returns the caller’s own spaces regardless of visibility.
  • Embeds: parentSpace on a space, and space on entities, comments and events (include=space), are null when the caller can’t see that space; parentSpaceId / spaceId keep the id.
  • Breadcrumb: the path starts just below the lowest space above that the caller can’t see.
  • Space chat: Get Space Conversation answers a space the caller can’t see with 403 chat/not-a-member, as it answers a nonexistent space, except that a caller banned in the space or a space above it gets 403 chat/banned. The chat routes that take a conversation id answer a space chat in a space the caller can’t see the way they answer someone who isn’t in the conversation, even if the caller opened it before; it’s left out of their conversation list and unread count, their real-time connection isn’t subscribed to it when it connects or joins the conversation, and they get no push notifications for its new messages. Reporting a message in it, or a reputation grant on one, answers them the same way it answers someone who isn’t in the conversation.
  • Event creation in a space and reputation grants in a space answer a space the caller can’t see exactly like a nonexistent one.
These are the only places visibility applies. The content inside a space the caller can’t see isn’t hidden; see Content inside a space. Visibility can be set on create and update; changes take effect immediately and are reversible in both directions.

Content inside a space

In v7, a space’s settings protect the space itself, not the content inside it:
  • private hides the space record, as described under Where it applies. The content inside it stays readable through the v7 API: entities, comments and their reactions, events (which follow their own visibility), search and Ask results, collection entity lists, and notifications about that content. Only the space embedded on that content is null for a caller who can’t see the space.
  • readingPermission is stored and returned for your app to enforce. The v7 API reports it in memberPermissions.canRead, and applies it only to the members and team lists, which answer 403 space/members-access-denied to anyone who isn’t an active member of a "members" space. Content in a "members" space is returned to everyone, like content in an "anyone" space.
  • postingPermission is stored and returned for your app to enforce. The v7 API reports it in memberPermissions.canPost, and doesn’t refuse an entity or comment in the space because of it, or because the author is banned there. Creating an event in a space as a signed-in user needs an active membership of it (403 event/not-space-member); a service key skips that check.
In v8, private spaces and readingPermission: "members" protect the content too, and postingPermission and bans are enforced. See Who can read content and Who can post and take part in the v8 Space data model.

NSFW flagging

NSFW is a separate axis from both visibility and moderationStatus — flagging a space (or entity) NSFW labels it, it does not hide or remove it. Every space carries its own nsfw boolean plus a denormalized nsfwEffective:
  • nsfw — the space’s own flag, defaulting to false. Toggled by space admins (via create/update) or by project admins from the dashboard.
  • nsfwEffective — the denormalized rollup:
    It is maintained on write: creating a space under an NSFW parent inherits nsfwEffective = true even if its own nsfw is false, and toggling a space’s own nsfw recomputes nsfwEffective top-down across its entire descendant subtree in the same transaction. A root space’s nsfwEffective equals its own nsfw.
Because nsfwEffective folds in the whole ancestor chain, it is what an entity’s live nsfwEffective reads from — flagging a space instantly cascades to every entity within it and its sub-spaces. See Entity → NSFW flagging. To filter a list by effective NSFW, pass nsfwFilter to Fetch many spaces (include-all default / exclude / only).
The space nsfwFilter keys off each space’s own nsfwEffective, so only can return an NSFW child whose safe parent is omitted — results are not guaranteed to form a contiguous tree. Consumers building a tree from the result should not assume completeness.
Sublay only labels and filters NSFW content. It does not blur, age-gate, add interstitials, or store a per-viewer “show mature content” preference — presentation is the consuming app’s responsibility.