# Create tasks for entities of a type

**POST /actions/projects/{project_id}/task-types/{task_type_id}/create-tasks/{entity_type}**

Create a task of the task type for each entity of the list. If the body is empty, the route uses all the entities of this type in the project, or of the episode episode_id. The entity type name is not case sensitive. A task that exists is skipped. For an asset type, an asset whose workflow does not have the task type is skipped. You must be a manager of the project.


## Servers
- /api: /api ()


## Authentication methods
- Jwt authorization


## Parameters

### Path parameters

- **project_id** (string(uuid))
  Unique identifier of the project

- **entity_type** (string)
  Name of the entity type, for example Asset or Sequence

- **task_type_id** (string(uuid))
  Unique identifier of the task type


### Query parameters

- **episode_id** (string(uuid))
  Use only the entities of this episode, when the body is empty


### Body: application/json (array[string(uuid)])

array[string(uuid)]

## Responses
### 201
The new tasks

#### Body: application/json (array[object])
- **id** (string(uuid))

- **name** (string)

- **task_type_id** (string(uuid))

- **task_status_id** (string(uuid))

- **entity_id** (string(uuid))

- **project_id** (string(uuid))


### 400
The body is not a list of valid identifiers

### 404
The project, the task type or the entity type does not exist

### 403
You are not a manager of the project


[Powered by Bump.sh](https://bump.sh)
