Skip to main content

Overview

useFetchSpaceTeam returns a callable function that fetches all admins and moderators of a space in a single non-paginated response. This is useful for displaying the space’s leadership team.

Usage Example

Parameters

spaceId
string
required
UUID of the space.

Returns

data
SpaceMemberWithUser[]
All admins and moderators with active status, including embedded user details. When spaceReputation is requested, each embedded user carries an added spaceReputation number. See SpaceMember and Reputation.