Imports members into a space from submitted rows, creating WordPress users for addresses that do not yet exist.
The response reports per-batch counts so a large import can be driven in chunks from the client.
Endpoint
Method:
POSTPath:
/spaces/{spaceSlug}/members/bulk-importEdition: PRO
Controller:
BulkMembersController@bulkImportMembersRoute source:
fluent-community-pro/app/Http/Routes/api.php:122Controller source:
fluent-community-pro/app/Http/Controllers/BulkMembersController.phpRequires the
can_add_memberpermission in this space.Requires FluentCommunity Pro.
Can create new WordPress user accounts and, depending on the payload, send them welcome email.
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.
POST Post Bulk Import Members
Imports members into a space from submitted rows, creating WordPress users for addresses that do not yet exist.
Controller: BulkMembersController@bulkImportMembers
Route source: fluent-community-pro/app/Http/Routes/api.php:122
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
SpaceSlug extracted from the URL path.
Request Body
Responses
Successful response