Skip to main content
Fetch Space
Fetches a space by UUID. Returns full space details including membership permissions for the authenticated user, parent space, and child space previews. A space the caller can’t see (a private space they aren’t an active member of, or a space under one) answers 404, exactly like a nonexistent space. See Space visibility. parentSpace is null when the caller can’t see the parent, and childSpaces holds the sub-spaces the caller can see that are public or that they’re an active member of.

Path Parameters

string
required
UUID of the space.

Query Parameters

string
Optional. Pass "files" to include avatar and banner file objects.

Response

Returns a SpaceDetailed object including memberPermissions, parentSpace, and childSpaces.

Error Responses

See also: useFetchSpace