---
title: "Add multiple new assignees to a task"
method: POST
path: "/tasks/{taskID}/assignees/bulk"
tags: ["assignees"]
---

# Add multiple new assignees to a task

`POST /tasks/{taskID}/assignees/bulk`

Adds multiple new assignees to a task. The assignee needs to have access to the project, the doer must be able to edit this task. Every user not in the project will be unassigned from the task, pass an empty array to unassign everyone.

## Path parameters

- `taskID` integer, required

## Request body

- ModelsBulkAssignees
  - `assignees` UserUser[] — A project with all assignees
    - `bot_owner_id` integer — BotOwnerID is the ID of the owning (human) user if this user is a bot. A non-zero value means this user is a bot and cannot authenticate via password.
    - `created` string — A timestamp when this task was created. You cannot change this value.
    - `email` string — The user's email address.
    - `id` integer — The unique, numeric id of this user.
    - `name` string — The full name of the user.
    - `updated` string — A timestamp when this task was last updated. You cannot change this value.
    - `username` string — The username of the user. Is always unique.

## Response `201`

The created assingees object.

- ModelsTaskAssginee
  - `created` string
  - `user_id` integer

## Other responses

- `400` — Invalid assignee object provided.
- `500` — Internal error

---

[API](https://skmtc.net/go-vikunja/apis/vikunja-api.md) · [All operations](https://skmtc.net/go-vikunja/apis/vikunja-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/go-vikunja/vikunja-api/versions/feb3f68bbdf1/schema)
