Skip to main content
GET
/
:projectId
/
api
/
v7
/
spaces
/
:spaceId
/
members
List Space Members
curl --request GET \
  --url https://api.sublay.io/api/v6/:projectId/api/v7/spaces/:spaceId/members
{
  "data": [
    {}
  ],
  "pagination": {}
}
Returns a paginated list of space members with embedded user details.

Path Parameters

spaceId
string
required
UUID of the space.

Query Parameters

page
number
Page number. Defaults to 1.
limit
number
Results per page.
status
string
Filter by status: "pending", "active", "banned", or "rejected".
role
string
Filter by role: "admin", "moderator", or "member".

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.
spaceReputationId
string
Adds spaceReputation to each returned user. One of: a space <uuid> (that space’s bucket), none (the project-general bucket), or context (the space derived from this request’s context — per-row on lists). The empty string and the legacy general / null aliases are rejected (400). Missing buckets read as 0.
spaceReputationDescendants
boolean
Only honored with an explicit space <uuid>. When true, spaceReputation is the subtree sum — the space plus all of its descendants (the root space’s own bucket included). Ignored for none; not allowed with context.

Response

data
SpaceMemberWithUser[]
Array of SpaceMemberWithUser objects.
pagination
object
Standard pagination metadata.
See also: useFetchSpaceMembers