---
title: "Create a todo"
method: POST
path: "/todos"
---

# Create a todo

`POST /todos`

## Request body

- CreateTodoRequest
  - `title` string, required
  - `dueAt` string, date-time

## Response `201`

Created

- Todo
  - `id` string, uuid, required
  - `title` string, required
  - `done` boolean, required
  - `dueAt` string, date-time, required
  - `createdAt` string, date-time, required

## Other responses

- `400` — Error

---

[API](https://skmtc.net/hydraide/apis/hydraide-todo-api.md) · [All operations](https://skmtc.net/hydraide/apis/hydraide-todo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hydraide/hydraide-todo-api/versions/8a5fad0d457a/schema)
