---
title: "Create a new TODO item"
method: POST
path: "/todos"
---

# Create a new TODO item

`POST /todos`

Creates a new TODO item.

## Request body

- TodoItem
  - `id` string, required — Unique identifier for the TODO item
  - `title` string, required — The title of the task
  - `completed` boolean, required — Whether the task is completed
  - `dueDate` string, date-time — When the task is due

## Response `201`

TODO item created

- TodoItem
  - `id` string, required — Unique identifier for the TODO item
  - `title` string, required — The title of the task
  - `completed` boolean, required — Whether the task is completed
  - `dueDate` string, date-time — When the task is due

---

[API](https://skmtc.dev/livesession/apis/todo-api.md) · [All operations](https://skmtc.dev/livesession/apis/todo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/livesession/todo-api/revisions/954de929f2b2/schema)
