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

# Add a new assignee to a task

`PUT /tasks/{taskID}/assignees`

Adds a new assignee to a task. The assignee needs to have access to the project, the doer must be able to edit this task.

## Path parameters

- `taskID` integer, required

## Request body

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

## Response `201`

The created assingee 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)
