# Create Task

## Create a new task

<mark style="color:green;">`POST`</mark> `/api/v1/tasks`

Use this endpoint to create tasks in Monolith.

**Body**

| Name                   | Type         | Description                                                        |
| ---------------------- | ------------ | ------------------------------------------------------------------ |
| `task_name` (required) | string       | Name of task.                                                      |
| `case_id` (required)   | number       | Case to be linked to task.                                         |
| `description`          | string       | Description of task.                                               |
| `due_date`             | Date         | <p>Due date of the task<br>"YYYY-MM-DD"</p>                        |
| `assignees`            | number array | Array of user\_id values used to assign users to the created task. |
