Returns the paginated active membership of a space, each entry carrying the member profile and their role, plus the count of outstanding join requests.
Sort with sort_by set to created_at (join date, the default), display_name or last_activity, and sort_dir; filter with search. Callers who can add members may pass status=pending to list the join requests instead of the members.
Endpoint
Method:
GETPath:
/spaces/{spaceSlug}/membersEdition: Core
Controller:
SpaceController@getMembersRoute source:
fluent-community/app/Http/Routes/api.php:18Controller source:
fluent-community/app/Http/Controllers/SpaceController.phpGated by the
can_view_membersspace permission; failure comes back as an error carryingpermission_failed.
Live sample
The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.
GET List Space Members
Returns the paginated active membership of a space, each entry carrying the member profile and their role, plus the count of outstanding join requests.
Controller: SpaceController@getMembers
Route source: fluent-community/app/Http/Routes/api.php:18
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
SpaceSlug extracted from the URL path.
Query Parameters
Search read via $request->getSafe() in getMembers().
Status read via $request->get() in getMembers().
Sort By read via $request->getSafe() in getMembers().
"created_at"Sort Dir read via $request->getSafe() in getMembers().
Responses
Successful response