Invites one email address to join a space and sends the invitation email immediately.
A valid email and a space_id are required; invitee_name is optional. The invitation is refused when the address already belongs to a member of that space, or when the caller has already invited the same address to the same space.
Endpoint
Method:
POSTPath:
/invitationsEdition: Core
Controller:
InvitationController@storeRoute source:
fluent-community/Modules/Auth/InvitationModule.php:25Controller source:
fluent-community/Modules/Auth/Classes/InvitationController.phpRequires the
community_moderatorpermission in the space named byspace_id.Requires FluentCommunity Pro with the
invitationfeature enabled.Sends outbound email synchronously, so the request is only as fast as the mail transport. Nothing rate limits it — the daily cap helper exists in the controller but is never called.
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 Create Invitation
Invites one email address to join a space and sends the invitation email immediately.
Controller: InvitationController@store
Route source: fluent-community/Modules/Auth/InvitationModule.php:25
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Request Body
Responses
Successful response