Creates a new user account associated with a company. After creation, assign users to projects via CompanyProjectUserController for project-level access.
model (CompanyUserCreateCommandRequest, required) — User details including:
companyId (guid, required) — Parent company identifier.email (string, required) — User email address (must be unique platform-wide).firstName (string, required) — User first name.lastName (string, required) — User last name.role (string, required) — User role (Admin or Member).phoneNumber (string, optional) — User phone number.CompanyUserCreateCommandResponse containing the ID of the newly created user.
The access token received from the authorization server in the OAuth 2.0 flow.
The user details including company ID, email, name, role, and optional profile information.
Base structure for command requests that modify data. Represents the payload used to create a company user association.
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. Create response containing the identifier of the newly created entity. Represents the response returned after creating a company user.
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
Unique identifier of the newly created entity.
"3fa85f64-5717-4562-b3fc-2c963f66afa6"