Assigns a new user to a tasks by email invitation.
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.Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
taskId
The id of the task.
email
The email of the new user.
roleId
The id of the role to which the new user should be added.
firstName
The first name of the user to be invited.
lastName
The last name of the user to be invited.
gender
The gender of the user to be invited. Could be ‘male’, ‘female’, ‘other’
Response
OK