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, with readingPermission added, of 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), where each item also carries readingPermission.

SpaceMemberPermissions

Always included in SpaceDetailed.memberPermissions, and returned as memberPermissions by Create Space and Update Space. Join Space and Leave Space don’t return it: fetch the space again after either to read the new values. Check My Membership returns the same values as permissions. Lists of spaces don’t carry it.

How permissions are calculated

  • canRead — the user can see the space (see Who sees a space), and either is an active member of it, or its readingPermission is "anyone" and they can read the space above it. A top-level "anyone" space can be read by anyone who can see it. Reading is inherited: below a "members" space, every space is members-only too, even one set to "anyone". Such a sub-space can be read by active members of the sub-space itself, of the "members" space above it, or of any space in between. A pending, banned or rejected user isn’t an active member, so they read a space only where "anyone" reading reaches it.
  • canPost — canRead, no ban in this space or in any space above it, and the space’s postingPermission: "anyone" lets every user who can read the space post, "members" its active members, and "team" its active admins and moderators. A ban in a space above counts even when the user has no membership, or a pending one, in this space.
  • canPost for the anonymous view — a signed-out caller, or a service key naming nobody: true only when the project’s Who can create entities without an author setting is Everyone, the space’s postingPermission is "anyone", and anyone can read the space. Otherwise false.
  • isMember, isAdmin, isModerator, canModerate — come from the user’s membership of this space only. An admin or moderator of a space above isn’t an admin or moderator here. With no membership (and for the anonymous view) they are false, and status is null.
memberPermissions describes a viewer, not what your backend may write. A service key naming nobody gets the anonymous view, so it can report canPost: false (or canRead: false) for a space where that key may still create entities without an author (see Acting as a user). To learn what a user may do, name them in actingUserId.

Visibility

visibility is a distinct axis from readingPermission. Visibility governs who can find and see the space; reading permission governs who can read the content inside it. You can have a public space that only members can read, or an unlisted space that anyone can read once they have the link.

Who sees a space

A viewer — the signed-in user, or the user a service key names in actingUserId — sees a space when they are an active member of it, or when it isn’t private and they can see the space above it. A top-level space that isn’t private is seen by everyone. So a private space hides everything under it from non-members, whatever those spaces’ own visibility. A member of a sub-space still sees that sub-space (and the non-private spaces under it) even when they can’t see a private space above it; they don’t see that private space. Each space keeps its own visibility; nothing is changed or refused when you nest spaces. Visibility changes take effect immediately and are freely reversible.

Where it applies

  • Single reads of a space the viewer can’t see answer 404 space/not-found — by id, short id and slug — and so do its breadcrumb, rules, members, team, join, delete, the moderator and admin actions, creating a sub-space in it (404 space/parent-not-found), and creating an event in it (404 event/space-not-found). The 404 comes before any permission check, so it never confirms the space exists. Check my membership is the exception: a user with any membership in the space gets it back.
  • Lists across levels — Fetch Spaces with parentSpaceId left out, none or any, and space search — show a space only if it and every space above it are public, whoever asks.
  • Lists under one parent — Fetch Spaces with parentSpaceId=<id> and the childSpaces preview — show the direct sub-spaces the viewer can see that are public or that the viewer is an active member of. So an unlisted sub-space shows only to its active members, and a private one only to its active members. childSpacesCount counts exactly these sub-spaces, so it always matches what the viewer can list.
  • My spaces and mutual spaces list only spaces the viewer can see. An active membership always counts; a pending, banned or rejected membership of a space the user can’t see is left out.
  • Space chat — Get Space Conversation is for active members only; anyone else gets 403: chat/not-a-member, or chat/membership-pending / chat/banned for their own pending or banned membership. The chat routes that read or write its content answer anyone who isn’t an active member of the space, or can’t see it, the way they answer someone who isn’t in the conversation, even if they still hold a conversation membership; a former member of the space keeps no access to the history from before they left (see space conversations). It’s also left out of their conversation list, unread count and chat-message search, 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. A viewer who can’t see the space isn’t subscribed to it on their real-time connection when it connects or joins the conversation.
  • Search, Ask and match — Search Content, Ask and Match Users return entities and comments only from spaces the viewer can read (see Who can read content). A comment counts as being in its entity’s space; content in no space is always included. Without includeChildSpaces, a spaceId the viewer can’t read gives an empty result, not an error. With it, only the spaces in the subtree the viewer can read count, so a readable sub-space still counts under a space they can’t read. Match’s sample content follows the same rule. The interests match ranks users by are learned from all of a user’s content, so they can reflect activity in spaces the asker can’t see; match never shows that content.
  • Events in a space follow the space: an event in a space the viewer can’t read answers 404 event/not-found on single reads and is left out of event lists, with totals that match, and its guest list follows it. RSVPing while banned in the event’s space or a space above it answers 403 space/posting-not-allowed. Hosts need active membership of the event’s space to use their host powers, and the space’s active admins and moderators see every event in it. See Event → Visibility and Owner and hosts.
  • Embedded spaces — parentSpace on a space, and the space on your own drafts in Fetch Drafts, are null when the viewer can’t see that space. The rest of the response is unchanged, and parentSpaceId / spaceId still name it. An entity, comment or event in a space the viewer can’t read isn’t returned at all, so the space embedded on one is never hidden.
  • Content — entities, the comments on them and their reactions follow who can read content, which includes seeing the space: content in a space the viewer can’t see is never readable. Creating or publishing an entity in a space the caller can’t see answers 404 entity/space-not-found (see Who can post and take part).
  • Reports and collections — reporting an entity or comment the user can’t read answers 404 report/target-not-found, and saving such an entity to a collection 404 entity/not-found, both like a missing target. A collection’s entities list and its entityCount leave out entities the owner can’t read.
  • Reputation — a user’s spaceReputation in a space counts only for a viewer who can read that space’s content; for anyone else it reads 0. Reputation grants follow the same rule: granting into a space the sender can’t read, or on an entity or comment they can’t read, answers like a missing space or target (404), and the grants list and grant summaries leave out grants tied to a space the viewer can’t read and grants on content they can’t read.
  • Notifications — a notification about content in a space (a mention, a reply or comment, a reaction or reaction milestone, a reputation grant tied to a space or given on an entity or comment in one) goes only to recipients who can read that space when it’s sent. Anyone else gets nothing: no notification, no push notification and no notificationCreated webhook. A comment goes by its entity’s space. Notifications already sent aren’t taken back.

Who can read content

readingPermission decides who can read the content inside a space: its entities, the comments on them, and the reactions on both. A viewer — the signed-in user, or the user a service key names in actingUserId — reads a space’s content when they can see the space and:
  • they’re an active member of the space, or
  • the space’s readingPermission is "anyone" and they can read the space above it (a top-level "anyone" space is read by everyone who sees it).
So reading is inherited: a "members" space keeps its content, and the content of every "anyone" space under it, from anyone who isn’t an active member of it or of one of those sub-spaces. An active member of an "anyone" sub-space reads that sub-space even when they aren’t a member of the "members" space above it. A space below another "members" space starts the rule again: only its own active members read it. Only an active membership counts. A pending, banned or rejected user reads exactly what a non-member reads: a banned user still reads an "anyone" space they can see, and can’t read a "members" one. Signed-out callers, and a service key without actingUserId, read only content in spaces where every space from the top down to this one is "anyone" and none is private. To read members-only or private content with a service key, name a member with actingUserId. A comment is read through its entity’s space. Content in no space is read by everyone. A space’s rules don’t follow readingPermission: anyone who can see the space reads them, members-only or not. Its members and team lists do follow it.

Who can post and take part

Posting — creating an entity in a space (a draft included), publishing a draft in it, and editing an entity in it — needs all three:
  • reading the space’s content (who can read content);
  • no ban in the space or in any space above it, including spaces where the user has no membership;
  • the space’s postingPermission: "anyone" lets everyone in, "members" its active members, "team" its active admins and moderators.
A signed-out caller (allowed only while the project lets anonymous callers create entities without an author) posts only in an "anyone" space whose content signed-out callers can read. A service key without actingUserId creates app-owned entities in any space, private ones included, and edits them anywhere; reading that content back still needs actingUserId naming a member. A service key with actingUserId gets exactly that user’s answer. Taking part — commenting, replying, reacting to an entity or a comment, and editing your own comment — needs reading the content and no ban in its space or any space above it. postingPermission isn’t consulted, so a "team" space still takes comments and reactions from everyone who reads it. A comment goes by its entity’s space. Every space/posting-not-allowed refusal has the same body, whatever the cause:
When a space response carries memberPermissions, its canPost is this posting rule for the viewer.

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.