---
title: "Create or replace a task's note"
method: POST
path: "/setTaskNote"
tags: ["Task"]
---

# Create or replace a task's note

`POST /setTaskNote`

## Request

- Base URL: `https://www.taskade.com/api/v2`
- URL: `https://www.taskade.com/api/v2/setTaskNote`
- Auth: OAuth 2 and HTTP bearer
  - Authorization code: `https://www.taskade.com/oauth2/authorize`
  - Token URL: `https://www.taskade.com/oauth2/token`

## Request body

- object
  - `projectId` string, required: The project the task lives in
  - `taskId` string, required: The task ID (from `listTasks`)
  - `type` 'text/markdown' | 'text/plain', required
  - `value` string, required

## Response `200`

Default response

- object
  - `ok` true, required
  - `item` object, required
    - `type` string, required
    - `value` string, required

---

[API](https://skmtc.dev/taskade/apis/taskade-public-api-v2.md) - [All operations](https://skmtc.dev/taskade/apis/taskade-public-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/taskade/apis/taskade-public-api-v2/revisions/45f0e74ec083?raw)
