---
title: "✨ Create task assignee"
method: POST
path: "/api/projects/{id}/tasks/{task_pk}/assignees"
tags: ["Tasks"]
---

# ✨ Create task assignee

`POST /api/projects/{id}/tasks/{task_pk}/assignees`

<Card href="https://humansignal.com/goenterprise">
        <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
        <p style="margin-top: 10px; font-size: 14px;">
            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
        </p>
    </Card>
Assign a user to a task in a specific project.

## Path parameters

- `id` integer, required
- `task_pk` integer, required

## Request body

- TaskAssigneesMutationRequest
  - `type` 'AN' | 'RE', required — * `AN` - Annotate * `RE` - Review
  - `users` integer[], required

## Response `200`

- TaskAssignment — TaskAssignment Serializer with FSM state support. Note: The 'state' field will be populated from the queryset annotation if present, preventing N+1 queries. Use .with_state() on your queryset. The state field display is controlled by both: - fflag_feat_fit_568_finite_state_management (FSM background calculations) - fflag_feat_fit_710_fsm_state_fields (state field display in APIs)
  - `assignee` integer, required — Assigned user
  - `created_at` string, date-time, required — Time of assignment
  - `id` integer, required
  - `state` string, required
  - `task` integer, required — Assigned task
  - `type` 'AN' | 'RE' — * `AN` - Annotate * `RE` - Review

## Changes

> 97 revisions in range; 1 not diffed.

- **2026-08-07** `e1ba2ecdbabb` — 1 breaking, 4 info
  - request body became required
  - added the media type `application/x-www-form-urlencoded` to the request body
  - added the media type `multipart/form-data` to the request body
  - added `#/components/schemas/AssignmentTypeEnum` to the `type` response property `allOf` list for the response status `200`
  - …1 more
- **2026-07-07** `0edb4e1e9592` — 1 info
  - api operation id `api_projects_tasks_assignees_create_2` removed and replaced with `api_projects_tasks_assignees_create`

[Change history](https://skmtc.dev/humansignal/apis/label-studio-api/changes/api/projects/:id/tasks/:task_pk/assignees/post.md)

---

[API](https://skmtc.dev/humansignal/apis/label-studio-api.md) · [All operations](https://skmtc.dev/humansignal/apis/label-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/humansignal/label-studio-api/revisions/b589624c66c3/schema)
