Assigns a new user to a tasks by email invitation.

POST

For the invitation, the role of the user has to be specified. The user is then invited to the workspace and assigned to the task. The user will receive an email with the invitation link, as well as a redirect to the task. The new user will replace any currently existing task assignments.

Required Permissions: Any authenticated user.

Request

This endpoint expects an object.
taskIdstringRequired

The id of the task.

emailstringRequired>=1 character

The email of the new user.

roleIdstringRequired

The id of the role to which the new user should be added.

firstNamestringOptional

The first name of the user to be invited.

lastNamestringOptional

The last name of the user to be invited.

genderstringOptional

The gender of the user to be invited. Could be ‘male’, ‘female’, ‘other’