Returns a paginated list of spaces where the authenticated user has an active membership, along with their membership details for each space.
Query Parameters
Page number. Defaults to 1.
Results per page. Max 100.
Filter by role. Single value ("admin", "moderator", "member") or comma-separated list (e.g. "admin,moderator").
Optional comma-separated includes. Pass "files" to include avatar and banner file objects on each space.
Pass "true" to return all memberships without pagination. When used, the response omits the pagination field.
Response
Each item contains a space and a membership object.Show membership properties
"admin", "moderator", or "member".
"active" (only active memberships are returned).
When the membership was created.
Standard pagination metadata.
See also: useFetchUserSpaces