Skip to main content
List Space Team
Returns all admins and moderators of a space in a single non-paginated response.

Path Parameters

string
required
UUID of the space.

Query Parameters

string
Service key only: the user to list as. The page is exactly what that user’s own access token would get (their memberships, so the list of a members-only space, or of a space under one, is open to them only when they can read the space). Leave it out for the anonymous view: such a list returns 403. A user token always acts as its own user and must not send it, and neither may a request with no credentials (400 space/acting-user-not-allowed).

Space-scoped reputation

This endpoint has a space in context, so it accepts the opt-in reputation params. They add a spaceReputation field to each returned member’s user, alongside the always-present reputation total. Requires the reputation bundle. See the Reputation data model for the full contract.

Response

SpaceMemberWithUser[]
Array of SpaceMemberWithUser objects with role of "admin" or "moderator" and status of "active".

Error Responses

Returned when spaceId isn’t a valid UUID. Checked before sign-in, permissions and the endpoint’s other checks.
The caller can’t read the space: it, or a space above it, has readingPermission: "members", and the caller isn’t an active member of that members-only space or of a space between it and this one, this one included (no membership, or one that is pending, banned or rejected, doesn’t count). See How permissions are calculated.
A user token, or a request with no credentials, sent actingUserId, even naming its own user. Only a service key names the user it acts as; a user token always acts as its own user.
Returned when a service key names an actingUserId that isn’t a user in this project.
The space doesn’t exist, or the viewer can’t see it (a private space they aren’t an active member of, or a space under one). Both answer the same way, before any permission check. See Space visibility.
See also: useFetchSpaceTeam