Sends new user invitations to one or more email addresses, automatically creating invitation records and sending invitation emails.
model (UserInvitationSendCommandRequest, required) — Invitation request including:
companyId (guid, required) — Company identifier for the invitations.emails (string[], required) — Array of email addresses to invite.role (string, required) — User role to assign (Member, Admin, etc.).message (string, optional) — Optional personalized message.UserInvitationSendCommandResponse containing IDs of created invitations and send status.
The access token received from the authorization server in the OAuth 2.0 flow.
The invitation request containing company ID, email addresses, roles, and optional personalization.
Base structure for command requests that modify data. Represents the command payload to send invitations to prospective users.
Always returned. Check the success property in the response body to determine if the operation succeeded.
Standard response structure containing operation status and error information. Standard command response indicating the result of a data modification. Represents the response returned after sending user invitations.
True if the operation completed successfully; false if an error occurred.
true
Result code indicating the outcome of the operation.
Unknown, Success, BadRequest, Unauthorized, NotFound, Error 200
Human-readable error message when an error occurs.
null