Skip to main content
POST
Create Todo

Authorizations

Authorization
string
header
required

A personal access token (haico_pat_...), created under Profile → API keys. Send it as Authorization: Bearer <key>. The browser session JWT is also accepted but is an internal mechanism and is not part of the public contract.

Path Parameters

thread_id
string
required
Minimum string length: 1

Body

application/json

Payload for creating a new todo item.

text
string
required
parent_index
integer | null

Response

Successful Response

Serialised todo item returned by workspace endpoints.

id
integer
required
thread_id
string
required
text
string
required
done
boolean
required
position
integer
required
depth
integer
default:0