tasks

Invites a user by email and assigns them to a task.

Changed on

Invites a user by email and assigns them to a task. The invited user is added to the task's assignees. <Check title="Required Permissions" icon="key">The user must have permission to access the requested resource.</Check>

post/tasks/assignuserbyemail

Request

  • Base URL: https://api.awork.com/api/v1
  • URL: https://api.awork.com/api/v1/tasks/assignuserbyemail
  • Auth: HTTP bearer

Request body

taskIdstring uuid required

The id of the task.

emailstring email required

The email of the new user.

roleIdstring uuid required

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

firstNamestring nullable

The first name of the user to be invited.

lastNamestring nullable

The last name of the user to be invited.

gender'male' | 'female' | 'other'

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

Response

OK

TasksPostTasksAssignUserByEmailResponse200 required

Empty response body

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API

    • info

      api operation id PostTasksAssignUserByEmail removed and replaced with tasks_PostTasksAssignUserByEmail