> For the complete documentation index, see [llms.txt](https://tag-api.agreefy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tag-api.agreefy.com/create-new-task.md).

# Create new task

Create new task

| Parameters                 | Type       | Description                                           |
| -------------------------- | ---------- | ----------------------------------------------------- |
| **title(Mandatory)**       | String(36) | **Task Title**                                        |
| **assignedTo(Mandatory)**  | String(36) | **Task assigned user UUID**                           |
| **description(Mandatory)** | String(36) | **Task description**                                  |
| **startDate(Mandatory)**   | Date       | **Task start date**                                   |
| **endDate(Mandatory)**     | Date       | **Task end date**                                     |
| **observers**              | array      | **Array of userUUID (string) assigned for observers** |
| **assets**                 | array      | **Array of assetUUID(string) assigned for tasks**     |

* URL Parameter&#x73;**:**

  **clientUUID**

  **userUUID**

## Post new task

<mark style="color:green;">`POST`</mark> `https://<baseurl>/v1/organization/tasks/add/@clientUUID/@userUUID`

#### Path Parameters

| Name       | Type   | Description |
| ---------- | ------ | ----------- |
| clientUUID | string | Client UUID |
| userUUID   | string | User UUID   |

#### Headers

| Name           | Type   | Description          |
| -------------- | ------ | -------------------- |
| Authentication | string | Authentication token |

{% tabs %}
{% tab title="200 " %}

```
#########################################################################
## success
#########################################################################

{
    "message": "success",
    "status": 200
}


#########################################################################
## Error:Unable to save data
#########################################################################

{
	"message": "error",
	"status": 400,
	"description": "Unable to save data”

}

#########################################################################
## Error:No data found
#########################################################################
            
{
	"message": "error",
	"status": 401,
	"description": "No data found"
}






```

{% endtab %}
{% endtabs %}
