5 minutes to help shape OpenTodo. Anonymous, no account. Take the survey

Tasks, projects and other synced data API

GET /api/v1/activity

Get activity · Token or session

the activity feed across every shared project you are a member of; ?cursor=&limit=&project=&actor=&kind=; see Activity feed

Response 200
FieldTypeDescription
cursorstring
events requiredarray of object
events[].actor requiredstring
events[].actorNamestring
events[].changes requiredarray of object
events[].changes[].field requiredstring
events[].changes[].from requiredstring
events[].changes[].to requiredstring
events[].devicestring
events[].entity requiredstring
events[].entityId requiredstring
events[].id requiredstring
events[].kind requiredstring
events[].minutesnumber | null
events[].opIds requiredarray of string
events[].projectIdstring
events[].projectNamestring
events[].taskIdstring
events[].taskTitlestring
events[].ts requirednumber
more requiredboolean

POST /api/v1/away

Away · Token or session

set an away period, {from, to, projects?, labels?, pauseReminders?} → {away, skipped}; see Away

Request body
FieldTypeDescription
from requiredstring
labelsarray of string
pauseRemindersboolean | null
projectsarray of string
to requiredstring
Response 200
FieldTypeDescription
away requiredstring
skipped requirednumber

DELETE /api/v1/away

Delete away · Token or session

end the away period now; its skips stay → 204

Response 200: OK

PATCH /api/v1/comments/{id}

Update a comment · Token or session

{body?, mentions?} → 200 comment with edited_at set; 403 forbidden unless you wrote it

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: OK

DELETE /api/v1/comments/{id}

Delete a comment · Token or session

204; allowed for the author, project admins and the owner

Path parameters
FieldTypeDescription
id requiredstringpath

Response 204: No content

PUT /api/v1/comments/{id}/reactions

Update comment reactions · Token or session

{reactions: [names]} replaces your own reactions → 200 comment; 400 invalid_input naming an unknown name or a duplicate; 404 for an unreadable or deleted comment; read and agent tokens get 403 insufficient_scope

Refuses read and agent tokens.

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: OK

GET /api/v1/export

Get export · Token or session

full JSON export (projects, tasks, labels, views, reminders, sections, comments, time_entries, places, themes (your custom themes, Themes), objectives (your quarterly and weekly objectives, deleted ones included), memory (what the assistant remembers, deleted items included; only for a session or a full or admin token), user_prefs, workspaces (each with your role; for those you own, the members' ids and roles and the groups), encryption, and userId, the exporting account), every task with its origin (null when unset), including deleted items and the projects shared with you (with role and owner_id); never contains audit events or push subscriptions; reminders are personal, so only your own

Response 200
FieldTypeDescription
attachments requiredarray of object
comments requiredarray of object
encryption requiredobject | null
encryption.createdAt requirednumber
encryption.iterations requirednumber
encryption.kdf requirednumber
encryption.salt requiredstring
encryption.updatedAt requirednumber
encryption.version requirednumber
encryption.wrappedByPassphrase requiredstring
encryption.wrappedByRecovery requiredstring
exportedAt requiredstring
format requiredstring
habit_tallies requiredarray of object
memory requiredarray of object
places requiredarray of object
project_prefs requiredarray of object
review requiredarray of object
themes requiredarray of object
time_entries requiredarray of object
userId requiredstring
user_prefs requiredarray of object
version requirednumber
workspaces requiredarray of object

GET /api/v1/fields

List fields · Token or session

same shape for custom field definitions, see Custom fields

Response 200
FieldTypeDescription
fields requiredarray of Field

POST /api/v1/fields

Create a field · Token or session

same shape for custom field definitions, see Custom fields

Request body
FieldTypeDescription
created_atnumber
deleted_atnumber | null
namestring
optionsstring
positionnumber
project_idstringAn id: a UUID, or for some entities a name-based id.
typestring
workspace_idstring | null

Response 200: Field

GET /api/v1/fields/{id}

Get a field · Token or session

same shape for custom field definitions, see Custom fields

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: Field

PATCH /api/v1/fields/{id}

Update a field · Token or session

same shape for custom field definitions, see Custom fields

Path parameters
FieldTypeDescription
id requiredstringpath
Request body
FieldTypeDescription
created_atnumber
deleted_atnumber | null
namestring
optionsstring
positionnumber
project_idstringAn id: a UUID, or for some entities a name-based id.
typestring
workspace_idstring | null

Response 200: Field

DELETE /api/v1/fields/{id}

Delete a field · Token or session

same shape for custom field definitions, see Custom fields

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: OK

GET /api/v1/habits

List habits · Token or session

your open habits with their numbers (list_habits' shape); graduated=true, timezone; see Habits

Response 200: OK

GET /api/v1/habits/{id}

Get a habit · Token or session

one habit and its scheduled days with their states and notes (get_habit's shape); from, to (at most 400 days apart, the last 31 by default), timezone

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: OK

POST /api/v1/habits/{id}/log

Habit log · Token or session

{state, date?, note?, timezone?} logs a day as the app does, or {amount} / {set_amount} for an amount habit → the habit with its days

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: OK

POST /api/v1/import

Import · Token or session

multipart file + options → 202 {job}; the import runs in the background

Response 202
FieldTypeDescription
job requiredobject | null
job.createdAt requirednumber
job.errors requiredarray of object
job.errors[].reason requiredstring
job.errors[].rownumber
job.errors[].sourceIdstring
job.finishedAt requirednumber | null
job.format requiredstring
job.id requiredstring
job.messagestring
job.options requiredobject
job.options.clientTokenstring
job.options.columnsobject
job.options.contentstring
job.options.duplicatesstring
job.options.errorsstring
job.options.existingstring
job.options.formatstring
job.options.sectionsstring
job.options.targetProjectstring
job.options.timeZonestring
job.options.workspacestring
job.status requiredstring
job.totals requiredobject
job.totals.attachments requirednumber
job.totals.comments requirednumber
job.totals.create requirednumber
job.totals.deadlines requirednumber
job.totals.entities requirednumber
job.totals.error requirednumber
job.totals.fields requirednumber
job.totals.newLabels requirednumber
job.totals.newProjects requirednumber
job.totals.newSections requirednumber
job.totals.notes requirednumber
job.totals.ops requirednumber
job.totals.places requirednumber
job.totals.possibleDuplicates requirednumber
job.totals.recurring requirednumber
job.totals.refusednumber
job.totals.reminders requirednumber
job.totals.rows requirednumber
job.totals.skip requirednumber
job.totals.timeEntries requirednumber
job.totals.update requirednumber
job.totals.warnings requirednumber
job.totals.written requirednumber
job.undoneAt requirednumber | null
job.viewHintsarray of object
job.viewHints[].projectId requiredstring
job.viewHints[].view requiredstring

GET /api/v1/import/jobs

List import jobs · Token or session

{jobs:[…]}, newest first (last 50)

Response 200
FieldTypeDescription
jobs requiredarray of object
jobs[].createdAt requirednumber
jobs[].errors requiredarray of object
jobs[].errors[].reason requiredstring
jobs[].errors[].rownumber
jobs[].errors[].sourceIdstring
jobs[].finishedAt requirednumber | null
jobs[].format requiredstring
jobs[].id requiredstring
jobs[].messagestring
jobs[].options requiredobject
jobs[].options.clientTokenstring
jobs[].options.columnsobject
jobs[].options.contentstring
jobs[].options.duplicatesstring
jobs[].options.errorsstring
jobs[].options.existingstring
jobs[].options.formatstring
jobs[].options.sectionsstring
jobs[].options.targetProjectstring
jobs[].options.timeZonestring
jobs[].options.workspacestring
jobs[].status requiredstring
jobs[].totals requiredobject
jobs[].totals.attachments requirednumber
jobs[].totals.comments requirednumber
jobs[].totals.create requirednumber
jobs[].totals.deadlines requirednumber
jobs[].totals.entities requirednumber
jobs[].totals.error requirednumber
jobs[].totals.fields requirednumber
jobs[].totals.newLabels requirednumber
jobs[].totals.newProjects requirednumber
jobs[].totals.newSections requirednumber
jobs[].totals.notes requirednumber
jobs[].totals.ops requirednumber
jobs[].totals.places requirednumber
jobs[].totals.possibleDuplicates requirednumber
jobs[].totals.recurring requirednumber
jobs[].totals.refusednumber
jobs[].totals.reminders requirednumber
jobs[].totals.rows requirednumber
jobs[].totals.skip requirednumber
jobs[].totals.timeEntries requirednumber
jobs[].totals.update requirednumber
jobs[].totals.warnings requirednumber
jobs[].totals.written requirednumber
jobs[].undoneAt requirednumber | null
jobs[].viewHintsarray of object
jobs[].viewHints[].projectId requiredstring
jobs[].viewHints[].view requiredstring

GET /api/v1/import/jobs/{id}

Get a import job · Token or session

{job} with status, counts and row errors

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
job requiredobject | null
job.createdAt requirednumber
job.errors requiredarray of object
job.errors[].reason requiredstring
job.errors[].rownumber
job.errors[].sourceIdstring
job.finishedAt requirednumber | null
job.format requiredstring
job.id requiredstring
job.messagestring
job.options requiredobject
job.options.clientTokenstring
job.options.columnsobject
job.options.contentstring
job.options.duplicatesstring
job.options.errorsstring
job.options.existingstring
job.options.formatstring
job.options.sectionsstring
job.options.targetProjectstring
job.options.timeZonestring
job.options.workspacestring
job.status requiredstring
job.totals requiredobject
job.totals.attachments requirednumber
job.totals.comments requirednumber
job.totals.create requirednumber
job.totals.deadlines requirednumber
job.totals.entities requirednumber
job.totals.error requirednumber
job.totals.fields requirednumber
job.totals.newLabels requirednumber
job.totals.newProjects requirednumber
job.totals.newSections requirednumber
job.totals.notes requirednumber
job.totals.ops requirednumber
job.totals.places requirednumber
job.totals.possibleDuplicates requirednumber
job.totals.recurring requirednumber
job.totals.refusednumber
job.totals.reminders requirednumber
job.totals.rows requirednumber
job.totals.skip requirednumber
job.totals.timeEntries requirednumber
job.totals.update requirednumber
job.totals.warnings requirednumber
job.totals.written requirednumber
job.undoneAt requirednumber | null
job.viewHintsarray of object
job.viewHints[].projectId requiredstring
job.viewHints[].view requiredstring

GET /api/v1/import/jobs/{id}/items

List import job items · Token or session

{items:[{sourceId, entity, entityId, action}]}, what the job wrote (ids and kinds only), see Import

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
items requiredarray of object
items[].action requiredstring
items[].entity requiredstring
items[].entityId requiredstring
items[].sourceId requiredstring

POST /api/v1/import/jobs/{id}/undo

Import job undo · Token or session

tombstone everything the job created → {job} (status undone); idempotent

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
job requiredobject | null
job.createdAt requirednumber
job.errors requiredarray of object
job.errors[].reason requiredstring
job.errors[].rownumber
job.errors[].sourceIdstring
job.finishedAt requirednumber | null
job.format requiredstring
job.id requiredstring
job.messagestring
job.options requiredobject
job.options.clientTokenstring
job.options.columnsobject
job.options.contentstring
job.options.duplicatesstring
job.options.errorsstring
job.options.existingstring
job.options.formatstring
job.options.sectionsstring
job.options.targetProjectstring
job.options.timeZonestring
job.options.workspacestring
job.status requiredstring
job.totals requiredobject
job.totals.attachments requirednumber
job.totals.comments requirednumber
job.totals.create requirednumber
job.totals.deadlines requirednumber
job.totals.entities requirednumber
job.totals.error requirednumber
job.totals.fields requirednumber
job.totals.newLabels requirednumber
job.totals.newProjects requirednumber
job.totals.newSections requirednumber
job.totals.notes requirednumber
job.totals.ops requirednumber
job.totals.places requirednumber
job.totals.possibleDuplicates requirednumber
job.totals.recurring requirednumber
job.totals.refusednumber
job.totals.reminders requirednumber
job.totals.rows requirednumber
job.totals.skip requirednumber
job.totals.timeEntries requirednumber
job.totals.update requirednumber
job.totals.warnings requirednumber
job.totals.written requirednumber
job.undoneAt requirednumber | null
job.viewHintsarray of object
job.viewHints[].projectId requiredstring
job.viewHints[].view requiredstring

POST /api/v1/import/preview

Import preview · Token or session

multipart file + options → dry run {format, totals, rows, …}, see Import

Response 200
FieldTypeDescription
columnsobject | null
columns.availablearray of string
columns.ignored requiredarray of string
columns.recognised requiredarray of string
columns.rolesobject
detectedstring
format requiredstring
notes requiredarray of string
options requiredobject
options.clientTokenstring
options.columnsobject
options.contentstring
options.duplicatesstring
options.errorsstring
options.existingstring
options.formatstring
options.sectionsstring
options.targetProjectstring
options.timeZonestring
options.workspacestring
rows requiredarray of object
rows[].filestring
rows[].kind requiredstring
rows[].outcome requiredstring
rows[].projectstring
rows[].reasonstring
rows[].rownumber
rows[].sourceIdstring
rows[].title requiredstring
rows[].warningsarray of string
templateobject | null
template.daystring
totals requiredobject
totals.attachments requirednumber
totals.comments requirednumber
totals.create requirednumber
totals.deadlines requirednumber
totals.entities requirednumber
totals.error requirednumber
totals.fields requirednumber
totals.newLabels requirednumber
totals.newProjects requirednumber
totals.newSections requirednumber
totals.notes requirednumber
totals.ops requirednumber
totals.places requirednumber
totals.possibleDuplicates requirednumber
totals.recurring requirednumber
totals.refusednumber
totals.reminders requirednumber
totals.rows requirednumber
totals.skip requirednumber
totals.timeEntries requirednumber
totals.update requirednumber
totals.warnings requirednumber
totals.written requirednumber
truncated requiredboolean
versionnumber
viewHintsarray of object
viewHints[].projectId requiredstring
viewHints[].view requiredstring

POST /api/v1/import/todoist

Import todoist · Token or session

{token}, a Todoist API token → Todoist's sync answer (projects, sections, labels, tasks, comments) as JSON, which /api/v1/import/preview and /api/v1/import read like an uploaded file (format json-items); one request to Todoist through the outbound policy, the token never stored; 400 invalid_token when Todoist refuses it, 413 too_large over OPENTODO_IMPORT_MAX_MB, 502 upstream_failed when Todoist cannot be reached, 429 rate_limited (10 an hour); demo instances → 403 demo_restricted

Refuses read and agent tokens.

Request body
FieldTypeDescription
token requiredstring

Response 200: OK

GET /api/v1/labels

List labels · Token or session

same shape for labels, see Label fields

Response 200
FieldTypeDescription
labels requiredarray of Label

GET /api/v1/labels/{id}

Get a label · Token or session

same shape for labels, see Label fields

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: Label

DELETE /api/v1/labels/{id}

Delete a label · Token or session

same shape for labels, see Label fields

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: OK

GET /api/v1/me/member-invitations

List me member invitations · Token or session

your open invitations {invitations:[{id,kind,targetId,targetName,role,inviterId,inviterName,createdAt,expiresAt}]}, see Membership invitations

Refuses read and agent tokens.

Response 200
FieldTypeDescription
invitations requiredarray of object

POST /api/v1/me/member-invitations/{id}/accept

Me member invitation accept · Token or session

join → 200 {kind, targetId, role}; 410 invitation_stale when the inviter can no longer add you; 404 not_found

Refuses read and agent tokens.

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
kind requiredstring
role requiredstring
targetId requiredstring

POST /api/v1/me/member-invitations/{id}/decline

Me member invitation decline · Token or session

decline → 204; you are not asked again for this project or workspace until it would have expired

Refuses read and agent tokens.

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: OK

GET /api/v1/notes

List notes · Token or session

same shape for standalone notes: {title, description, project_id, labels}; a read carries body_version and appends

Response 200
FieldTypeDescription
notes requiredarray of Note + object
notes[].appendsarray of objectAppends not yet merged into the body, oldest first.
notes[].appends[].idstring
notes[].appends[].textstring
notes[].body_versionstring

POST /api/v1/notes

Create a note · Token or session

same shape for standalone notes: {title, description, project_id, labels}; a read carries body_version and appends

Request body
FieldTypeDescription
created_atnumber
daystring
deleted_atnumber | null
descriptionstring
labelsarray of string
notes_docstringA mergeable notes document ("ydoc:v1:…"), see docs/sync.md "Mergeable documents". Write description (Markdown) instead unless you merge documents yourself.
positionnumber
project_idstring | null
templateboolean
titlestring
workspace_idstring | null

Response 201: Note, plus:

Response 201: other fields
FieldTypeDescription
appendsarray of objectAppends not yet merged into the body, oldest first.
appends[].idstring
appends[].textstring
body_versionstring

GET /api/v1/notes/{id}

Get a note · Token or session

same shape for standalone notes: {title, description, project_id, labels}; a read carries body_version and appends

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: Note, plus:

Response 200: other fields
FieldTypeDescription
appendsarray of objectAppends not yet merged into the body, oldest first.
appends[].idstring
appends[].textstring
body_versionstring

PATCH /api/v1/notes/{id}

Update a note · Token or session

same shape for standalone notes: {title, description, project_id, labels}; a read carries body_version and appends

Path parameters
FieldTypeDescription
id requiredstringpath
Request body
FieldTypeDescription
created_atnumber
daystring
deleted_atnumber | null
descriptionstring
labelsarray of string
notes_docstringA mergeable notes document ("ydoc:v1:…"), see docs/sync.md "Mergeable documents". Write description (Markdown) instead unless you merge documents yourself.
positionnumber
project_idstring | null
templateboolean
titlestring
workspace_idstring | null

Response 200: Note, plus:

Response 200: other fields
FieldTypeDescription
appendsarray of objectAppends not yet merged into the body, oldest first.
appends[].idstring
appends[].textstring
body_versionstring

DELETE /api/v1/notes/{id}

Delete a note · Token or session

same shape for standalone notes: {title, description, project_id, labels}; a read carries body_version and appends

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: OK

POST /api/v1/notes/{id}/append

Note append · Token or session

{id?, text} adds Markdown at the end of the note without replacing it → 201 {entity, entity_id, append_id, body_version}; see Appending to a note; 409 too_many_appends past 100 waiting; read and agent tokens get 403 insufficient_scope

Path parameters
FieldTypeDescription
id requiredstringpath
Request body
FieldTypeDescription
idstring
text requiredstring
Response 200
FieldTypeDescription
append_id requiredstring
body_version requiredstring
entity requiredstring
entity_id requiredstring
Response 201
FieldTypeDescription
append_id requiredstring
body_version requiredstring
entity requiredstring
entity_id requiredstring

GET /api/v1/notes/{id}/history

Get note history · Token or session

change sets from the operation log, oldest first; ?before=<ts>&limit=<1-200> pages backwards; see Trash and history

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
beforenumber
changeSets requiredarray of object
changeSets[].changes requiredarray of object
changeSets[].changes[].field requiredstring
changeSets[].changes[].from requiredstring
changeSets[].changes[].lostboolean
changeSets[].changes[].opId requiredstring
changeSets[].changes[].to requiredstring
changeSets[].device requiredstring
changeSets[].device_labelstring
changeSets[].ts requirednumber
changeSets[].userId requiredstring
entity requiredstring
id requiredstring
more requiredboolean

GET /api/v1/notes/{id}/page

Get note page · Token or session

the active page's status (never the secret or a key)

Refuses read and agent tokens.

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
createdBy requiredstring
encrypted requiredboolean
expiresAt requirednumber | null
id requiredstring
label requiredstring | null
lastOpenedAt requirednumber | null
noteId requiredstring
publishedAt requirednumber
snapshotAt requirednumber | null

POST /api/v1/notes/{id}/page

Note page · Token or session

{label?, expiresInDays?, snapshot?, wrappedKey?} → 201 the page with link (shown once), see Note pages

Refuses read and agent tokens. Needs a recently confirmed session or second factor.

Path parameters
FieldTypeDescription
id requiredstringpath
Request body
FieldTypeDescription
expiresInDaysnumber | null
labelstring | null
snapshot requiredstring
wrappedKey requiredstring
Response 201
FieldTypeDescription
encrypted requiredboolean
expiresAt requirednumber | null
id requiredstring
label requiredstring | null
link requiredstring
noteId requiredstring
publishedAt requirednumber

DELETE /api/v1/notes/{id}/page

Delete note page · Token or session

revoke → 204

Refuses read and agent tokens.

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: OK

PUT /api/v1/notes/{id}/page/snapshot

Update note page snapshot · Token or session

{ciphertext, version, wrappedKey?} → 200; an older version changes nothing

Refuses read and agent tokens.

Path parameters
FieldTypeDescription
id requiredstringpath
Request body
FieldTypeDescription
ciphertext requiredstring
version requirednumber
wrappedKey requiredstring
Response 200
FieldTypeDescription
ok requiredboolean

DELETE /api/v1/notes/{id}/purge

Delete note purge · Token or session

permanently delete an item that is in the Trash → {purged:{tasks,projects,notes,reminders,sections,comments}}; 409 not_deleted otherwise

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
purged requiredobject
purged.attachments requirednumber
purged.comments requirednumber
purged.fields requirednumber
purged.notes requirednumber
purged.orphansnumber
purged.projects requirednumber
purged.reminders requirednumber
purged.sections requirednumber
purged.tasks requirednumber
purged.timeEntries requirednumber

POST /api/v1/notes/{id}/to-task

Note to task · Token or session

turn the note into a task in one batch (the note goes to the Trash) → 201 task; on an encrypted account the body carries {task_id, title, description, notes_doc?} sealed for that id, else 409 encryption_enabled

Path parameters
FieldTypeDescription
id requiredstringpath

Response 201: Created

GET /api/v1/objectives

List objectives · Token or session

same shape for your quarterly and weekly objectives: {title, period, position, done_at}; the list takes ?period=<YYYY-Qn or YYYY-Www> and ?open=true; 409 too_many_objectives past 5 open in a period

Response 200
FieldTypeDescription
objectives requiredarray of Objective

POST /api/v1/objectives

Create a objective · Token or session

same shape for your quarterly and weekly objectives: {title, period, position, done_at}; the list takes ?period=<YYYY-Qn or YYYY-Www> and ?open=true; 409 too_many_objectives past 5 open in a period

Request body
FieldTypeDescription
created_atnumber
deleted_atnumber | null
done_atnumber
periodstringAn objective's period: a quarter (2026-Q4), a month or a year.
positionnumber
titlestring

Response 200: Objective

GET /api/v1/objectives/{id}

Get a objective · Token or session

same shape for your quarterly and weekly objectives: {title, period, position, done_at}; the list takes ?period=<YYYY-Qn or YYYY-Www> and ?open=true; 409 too_many_objectives past 5 open in a period

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: Objective

PATCH /api/v1/objectives/{id}

Update a objective · Token or session

same shape for your quarterly and weekly objectives: {title, period, position, done_at}; the list takes ?period=<YYYY-Qn or YYYY-Www> and ?open=true; 409 too_many_objectives past 5 open in a period

Path parameters
FieldTypeDescription
id requiredstringpath
Request body
FieldTypeDescription
created_atnumber
deleted_atnumber | null
done_atnumber
periodstringAn objective's period: a quarter (2026-Q4), a month or a year.
positionnumber
titlestring

Response 200: Objective

DELETE /api/v1/objectives/{id}

Delete a objective · Token or session

same shape for your quarterly and weekly objectives: {title, period, position, done_at}; the list takes ?period=<YYYY-Qn or YYYY-Www> and ?open=true; 409 too_many_objectives past 5 open in a period

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: OK

GET /api/v1/pages/{secret}

Get a page · No authentication

the page: kind task or note, mode live (the shown fields) or encrypted (snapshot)

No authentication.

Path parameters
FieldTypeDescription
secret requiredstringpath
Response 200
FieldTypeDescription
changedAtnumber
commentsarray of object
filesarray of object
idstring
kind requiredstring
label requiredstring | null
linksarray of object
locationstring | null
modestring
rights requiredstring
serverTime requirednumber
snapshotstring
snapshotAtnumber | null
subtasksarray of object
textstring
titlestring

GET /api/v1/pages/{secret}/files/{fileId}

Get a page file · No authentication

a file of the task, as a download; of a note page, a raster image inline

No authentication.

Path parameters
FieldTypeDescription
secret requiredstringpath
fileId requiredstringpath

Response 200: OK

GET /api/v1/pages/{secret}/maps/fonts/{fontstack}/{range}

Get a page maps font · No authentication

the page's map style, tiles, fonts and sprites, see Maps

No authentication.

Path parameters
FieldTypeDescription
secret requiredstringpath
fontstack requiredstringpath
range requiredstringpath

Response 200: OK

GET /api/v1/pages/{secret}/maps/sprites/{file}

Get a page maps sprite · No authentication

the page's map style, tiles, fonts and sprites, see Maps

No authentication.

Path parameters
FieldTypeDescription
secret requiredstringpath
file requiredstringpath

Response 200: OK

GET /api/v1/pages/{secret}/maps/tiles/{z}/{x}/{y}

Get a page maps tile · No authentication

the page's map style, tiles, fonts and sprites, see Maps

No authentication.

Path parameters
FieldTypeDescription
secret requiredstringpath
z requiredstringpath
x requiredstringpath
y requiredstringpath

Response 200: OK

POST /api/v1/pages/{secret}/replies

Create a page reply · No authentication

{name, body}, or {ciphertext} on an encrypted page → 201

No authentication.

Path parameters
FieldTypeDescription
secret requiredstringpath
Request body
FieldTypeDescription
body requiredstring
ciphertext requiredstring
name requiredstring
Response 201
FieldTypeDescription
bodystring
createdAtnumber
guestboolean
id requiredstring
namestring
pendingboolean

POST /api/v1/pages/{secret}/tick

Page tick · No authentication

{taskId, completed, name} → {taskId, completed_at}

No authentication.

Path parameters
FieldTypeDescription
secret requiredstringpath
Request body
FieldTypeDescription
completedboolean | null
name requiredstring
taskId requiredstring
Response 200
FieldTypeDescription
completed_at requiredstring
taskId requiredstring

POST /api/v1/project-invites/{token}/accept

Project invite accept · Token or session

join the project as the signed-in account → {projectId, role}

Path parameters
FieldTypeDescription
token requiredstringpath
Response 200
FieldTypeDescription
projectId requiredstring
role requiredstring

GET /api/v1/projects

List projects · Token or session

same shape for projects, see Project fields

Response 200
FieldTypeDescription
projects requiredarray of Project + object
projects[].body_versionstring

GET /api/v1/projects/{id}

Get a project · Token or session

same shape for projects, see Project fields

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: Project, plus:

Response 200: other fields
FieldTypeDescription
body_versionstring

DELETE /api/v1/projects/{id}

Delete a project · Token or session

same shape for projects, see Project fields

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: OK

GET /api/v1/projects/{id}/activity

Get project activity · Token or session

{events, more, cursor?} newest first, derived from the operation log; ?before=<cursor>&limit=<1-200> (default 50)

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
cursorstring
events requiredarray of object
events[].actor requiredstring
events[].actorNamestring
events[].changes requiredarray of object
events[].changes[].field requiredstring
events[].changes[].from requiredstring
events[].changes[].to requiredstring
events[].devicestring
events[].entity requiredstring
events[].entityId requiredstring
events[].id requiredstring
events[].kind requiredstring
events[].minutesnumber | null
events[].opIds requiredarray of string
events[].projectIdstring
events[].projectNamestring
events[].taskIdstring
events[].taskTitlestring
events[].ts requirednumber
more requiredboolean

GET /api/v1/projects/{id}/history

Get project history · Token or session

change sets from the operation log, oldest first; ?before=<ts>&limit=<1-200> pages backwards; see Trash and history

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
beforenumber
changeSets requiredarray of object
changeSets[].changes requiredarray of object
changeSets[].changes[].field requiredstring
changeSets[].changes[].from requiredstring
changeSets[].changes[].lostboolean
changeSets[].changes[].opId requiredstring
changeSets[].changes[].to requiredstring
changeSets[].device requiredstring
changeSets[].device_labelstring
changeSets[].ts requirednumber
changeSets[].userId requiredstring
entity requiredstring
id requiredstring
more requiredboolean

GET /api/v1/projects/{id}/invites

List project invites · Token or session

pending invite links {invites:[…]}, see Project invite links

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
invites requiredarray of object
invites[].createdAt requirednumber
invites[].createdBy requiredstring
invites[].createdByName requiredstring
invites[].email requiredstring | null
invites[].expiresAt requirednumber
invites[].id requiredstring
invites[].projectId requiredstring
invites[].role requiredstring

POST /api/v1/projects/{id}/invites

Create a project invite · Token or session

{role, email?, expiresInHours?, send?} → 201 {invite, link, newAccounts, sent?} (link shown once; send mails it to email)

Needs a recently confirmed session or second factor.

Path parameters
FieldTypeDescription
id requiredstringpath
Request body
FieldTypeDescription
email requiredstring
expiresInHoursnumber | null
role requiredstring
send requiredboolean
Response 201
FieldTypeDescription
invite requiredobject | null
invite.createdAt requirednumber
invite.createdBy requiredstring
invite.createdByName requiredstring
invite.email requiredstring | null
invite.expiresAt requirednumber
invite.id requiredstring
invite.projectId requiredstring
invite.role requiredstring
link requiredstring
newAccounts requiredboolean
sentboolean

DELETE /api/v1/projects/{id}/invites/{inviteId}

Delete a project invite · Token or session

revoke a pending link → 204

Path parameters
FieldTypeDescription
id requiredstringpath
inviteId requiredstringpath

Response 200: OK

DELETE /api/v1/projects/{id}/member-invitations/{invitationId}

Delete a project member invitation · Token or session

cancel an open invitation → 204; 404 not_found

Path parameters
FieldTypeDescription
id requiredstringpath
invitationId requiredstringpath

Response 200: OK

GET /api/v1/projects/{id}/members

List project members · Token or session

{projectId, role, ownerId, members:[{userId,name,email,role}], pending?}; pending (owners and admins only) lists the open invitations [{id,email,role,invitedBy,createdAt,expiresAt}], see Sharing

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
grantsarray of object
grants[].groupId requiredstring
grants[].name requiredstring
grants[].role requiredstring
members requiredarray of object
members[].avatarVersionnumber
members[].email requiredstring
members[].name requiredstring
members[].role requiredstring
members[].userId requiredstring
members[].via requiredarray of object
members[].via[].id requiredstring
members[].via[].namestring
ownerId requiredstring
pendingarray of objectThe open invitations, shown to the owner and admins.
pending[].createdAtnumber
pending[].emailstring
pending[].expiresAtnumber
pending[].idstring
pending[].invitedBystring
pending[].rolestring
projectId requiredstring
role requiredstring

POST /api/v1/projects/{id}/members

Create a project member · Token or session

{email, role} → 201 membership (shares the project on first use) when the account already shares a project or workspace with you, otherwise 202 {pending: true}, also for an address without an account: the person is invited and becomes a member when they accept (see Membership invitations); 400 invalid_input for anything but one address; recorded as project.member_added or member_invitation.created; adding by email is limited to 30 attempts per account per hour, together with workspace members (429 rate_limited)

Path parameters
FieldTypeDescription
id requiredstringpath
Request body
FieldTypeDescription
email requiredstring
role requiredstring
userId requiredstring
Response 201
FieldTypeDescription
grantsarray of object
grants[].groupId requiredstring
grants[].name requiredstring
grants[].role requiredstring
membersarray of object
members[].avatarVersionnumber
members[].email requiredstring
members[].name requiredstring
members[].role requiredstring
members[].userId requiredstring
members[].via requiredarray of object
members[].via[].id requiredstring
members[].via[].namestring
ownerIdstring
pendingarray of object | boolean
projectIdstring
rolestring
Response 202
FieldTypeDescription
grantsarray of object
grants[].groupId requiredstring
grants[].name requiredstring
grants[].role requiredstring
membersarray of object
members[].avatarVersionnumber
members[].email requiredstring
members[].name requiredstring
members[].role requiredstring
members[].userId requiredstring
members[].via requiredarray of object
members[].via[].id requiredstring
members[].via[].namestring
ownerIdstring
pendingarray of object | boolean
projectIdstring
rolestring

PATCH /api/v1/projects/{id}/members/{userId}

Update a project member · Token or session

{role} → membership

Path parameters
FieldTypeDescription
id requiredstringpath
userId requiredstringpath
Request body
FieldTypeDescription
role requiredstring
Response 200
FieldTypeDescription
grantsarray of object
grants[].groupId requiredstring
grants[].name requiredstring
grants[].role requiredstring
members requiredarray of object
members[].avatarVersionnumber
members[].email requiredstring
members[].name requiredstring
members[].role requiredstring
members[].userId requiredstring
members[].via requiredarray of object
members[].via[].id requiredstring
members[].via[].namestring
ownerId requiredstring
pendingarray of objectThe open invitations, shown to the owner and admins.
pending[].createdAtnumber
pending[].emailstring
pending[].expiresAtnumber
pending[].idstring
pending[].invitedBystring
pending[].rolestring
projectId requiredstring
role requiredstring

DELETE /api/v1/projects/{id}/members/{userId}

Delete a project member · Token or session

remove a member, or leave with your own id or me → 204

Path parameters
FieldTypeDescription
id requiredstringpath
userId requiredstringpath

Response 204: No content

POST /api/v1/projects/{id}/public-links

Create a project public link · Token or session

{rights, name?, layout?, expiresInDays?} → 201 the link with link (shown once)

Needs a recently confirmed session or second factor.

Path parameters
FieldTypeDescription
id requiredstringpath
Request body
FieldTypeDescription
expiresInDaysnumber | null
layout requiredstring
name requiredstring
rights requiredstring
Response 201
FieldTypeDescription
createdAt requirednumber
createdBy requiredstring
createdByName requiredstring
expiresAt requirednumber | null
id requiredstring
lastUsedAt requirednumber | null
layout requiredstring
link requiredstring
name requiredstring | null
projectId requiredstring
rights requiredstring

DELETE /api/v1/projects/{id}/purge

Delete project purge · Token or session

permanently delete an item that is in the Trash → {purged:{tasks,projects,notes,reminders,sections,comments}}; 409 not_deleted otherwise

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
purged requiredobject
purged.attachments requirednumber
purged.comments requirednumber
purged.fields requirednumber
purged.notes requirednumber
purged.orphansnumber
purged.projects requirednumber
purged.reminders requirednumber
purged.sections requirednumber
purged.tasks requirednumber
purged.timeEntries requirednumber

POST /api/v1/projects/{id}/transfer

Project transfer · Token or session

{userId} → membership; the previous owner becomes an admin

Path parameters
FieldTypeDescription
id requiredstringpath
Request body
FieldTypeDescription
userId requiredstring
Response 200
FieldTypeDescription
grantsarray of object
grants[].groupId requiredstring
grants[].name requiredstring
grants[].role requiredstring
members requiredarray of object
members[].avatarVersionnumber
members[].email requiredstring
members[].name requiredstring
members[].role requiredstring
members[].userId requiredstring
members[].via requiredarray of object
members[].via[].id requiredstring
members[].via[].namestring
ownerId requiredstring
pendingarray of objectThe open invitations, shown to the owner and admins.
pending[].createdAtnumber
pending[].emailstring
pending[].expiresAtnumber
pending[].idstring
pending[].invitedBystring
pending[].rolestring
projectId requiredstring
role requiredstring

GET /api/v1/public/{token}

Get a public · No authentication

a public list {projectName, projectColor, rights, sections, tasks, serverTime}

No authentication.

Path parameters
FieldTypeDescription
token requiredstringpath
Response 200
FieldTypeDescription
layout requiredstring
projectColor requiredstring
projectName requiredstring
rights requiredstring
sections requiredarray of object
serverTime requirednumber
tasks requiredarray of object

POST /api/v1/public/{token}/tick

Public tick · No authentication

{taskId, completed} → {taskId, completed_at}

No authentication.

Path parameters
FieldTypeDescription
token requiredstringpath
Request body
FieldTypeDescription
completedboolean | null
taskId requiredstring
Response 200
FieldTypeDescription
completed_at requiredstring
taskId requiredstring

POST /api/v1/quick-add/parse

Quick add parse · Token or session

read a quick-add line with the account's languages, projects and labels; writes nothing, so a read token may call it; see Quick-add parse

Request body
FieldTypeDescription
day_partsboolean | null
linestring | null
now requiredstring
today requiredstring
url requiredstring
Response 200
FieldTypeDescription
chips requiredarray of object
chips[].end requirednumber
chips[].kind requiredstring
chips[].start requirednumber
chips[].text requiredstring
fields requiredobject
origin requiredobject | null
origin.idstring
origin.kind requiredstring
origin.providerstring
origin.titlestring
origin.urlstring
title requiredstring
unmatched requiredarray of string

GET /api/v1/reminders

List reminders · Token or session

same shape for reminders, see Reminders and push

Response 200
FieldTypeDescription
reminders requiredarray of Reminder

GET /api/v1/reminders/{id}

Get a reminder · Token or session

same shape for reminders, see Reminders and push

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: Reminder

GET /api/v1/sections

List sections · Token or session

same shape for sections, see Sections

Response 200
FieldTypeDescription
sections requiredarray of Section

GET /api/v1/sections/{id}

Get a section · Token or session

same shape for sections, see Sections

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: Section

GET /api/v1/settings/project-invites

List settings project invites · Token or session

{membersCanInviteNewPeople} (the owner switch)

Response 200
FieldTypeDescription
membersCanInviteNewPeople requiredboolean

PUT /api/v1/settings/project-invites

Update settings project invites · Token or session

{membersCanInviteNewPeople: true|false} → the same shape

Only the server's owner.

Request body
FieldTypeDescription
membersCanInviteNewPeople requiredboolean
Response 200
FieldTypeDescription
membersCanInviteNewPeople requiredboolean

POST /api/v1/sync

Sync · Token or session

device sync, see sync.md; the response carries the log generation; with "features": ["push_only"] the ops are applied and nothing is pulled (for devices that only write)

Request body
FieldTypeDescription
backfillAcknumber
cursor requirednumber
device requiredstring
featuresarray of string
ops requiredarray of object
ops[].actorstring
ops[].device requiredstring
ops[].entity requiredstring
ops[].entityId requiredstring
ops[].field requiredstring
ops[].id requiredstring
ops[].seqnumber
ops[].ts requirednumber
ops[].value requiredanyThe field's value: any JSON value of the field's kind (docs/sync.md "Schema (v1)").
tzOffsetnumber | null
Response 200
FieldTypeDescription
applied requirednumber
backfillSeqnumber
cursor requirednumber
duplicates requirednumber
generation requiredstring
hasMore requiredboolean
memberships requiredarray of object
memberships[].grantsarray of object
memberships[].grants[].groupId requiredstring
memberships[].grants[].name requiredstring
memberships[].grants[].role requiredstring
memberships[].membersarray of object
memberships[].members[].avatarVersionnumber
memberships[].members[].email requiredstring
memberships[].members[].name requiredstring
memberships[].members[].role requiredstring
memberships[].members[].userId requiredstring
memberships[].members[].via requiredarray of object
memberships[].ownerIdstring
memberships[].projectIdstring
memberships[].rolestring
ops requiredarray of object
ops[].actorstring
ops[].device requiredstring
ops[].entity requiredstring
ops[].entityId requiredstring
ops[].field requiredstring
ops[].id requiredstring
ops[].seqnumber
ops[].ts requirednumber
ops[].value requiredanyThe field's value: any JSON value of the field's kind (docs/sync.md "Schema (v1)").
purged requiredarray of object
purged[].entity requiredstring
purged[].entityId requiredstring
rejected requiredarray of object
rejected[].id requiredstring
rejected[].reason requiredstring
rejected[].serverTimenumber
serverTime requirednumber
trashRetentionDays requirednumber
workspaces requiredarray of object
workspaces[].colorstring
workspaces[].defaultboolean
workspaces[].featuresobject
workspaces[].groupsarray of object
workspaces[].groups[].id requiredstring
workspaces[].groups[].members requiredarray of string
workspaces[].groups[].name requiredstring
workspaces[].iconstring
workspaces[].idstring
workspaces[].membersarray of object
workspaces[].members[].name requiredstring
workspaces[].members[].role requiredstring
workspaces[].members[].userId requiredstring
workspaces[].namestring
workspaces[].ownerIdstring
workspaces[].rolestring

GET /api/v1/sync/events

List sync events · Token or session

server-sent event stream; wakes the device when other devices or the API record operations, see sync.md

Response 200: OK

GET /api/v1/task-pages

List task pages · Token or session

the caller's own active pages, with the wrapped share key of encrypted ones

Refuses read and agent tokens.

Response 200
FieldTypeDescription
pages requiredarray of object
pages[].createdBy requiredstring
pages[].encrypted requiredboolean
pages[].expiresAt requirednumber | null
pages[].id requiredstring
pages[].includeMap requiredboolean
pages[].kind requiredstring
pages[].label requiredstring | null
pages[].lastOpenedAt requirednumber | null
pages[].noteIdstring
pages[].pendingReplies requirednumber
pages[].publishedAt requirednumber
pages[].replies requirednumber
pages[].rights requiredstring
pages[].snapshotAt requirednumber | null
pages[].snapshotVersion requirednumber
pages[].taskId requiredstring
pages[].ticks requirednumber
pages[].wrappedKeystring | null

GET /api/v1/tasks

List tasks · Token or session

{tasks:[…]} (yours and those of projects shared with you); ?include_deleted=true to include tombstones; ?completed_after=…&completed_before=… for tasks completed in a range

Response 200
FieldTypeDescription
tasks requiredarray of Task + object
tasks[].appendsarray of objectAppends not yet merged into the body, oldest first.
tasks[].appends[].idstring
tasks[].appends[].textstring
tasks[].body_versionstring
tasks[].fieldsobject

POST /api/v1/tasks

Create a task · Token or session

create → 201 task, see Task fields; optional Idempotency-Key header, see Idempotency keys (every collection below accepts it on create); ?default_reminder=true adds your default reminder; "reuse": true in a reusable list reopens a matching item instead, see Reusable lists

Request body
FieldTypeDescription
assignee_idstring | null
blocked_byarray of stringA list of ids.
completed_atnumber | null
completed_bystring | null
created_atnumber
day_partstring | nullThe part of the day: morning, afternoon, or null (the evening is the evening flag).
deadlinestring | null (date)A calendar date, YYYY-MM-DD.
deleted_atnumber | null
descriptionstring
dueDue | null
energystring | nullThe energy a task needs: deep, medium or low; null for none (a write also takes "").
estimate_minutesinteger | null
eveningboolean
flow_modestring
habitboolean
habit_amountnumber
habit_anchorstring
habit_colorstring
habit_graduated_atnumber | null
habit_periodstring
habit_stepnumber
habit_targetnumber
habit_tinystring
habit_unitstring
ical_extrastring | null
labelsarray of string
locationLocation | string | null
note_mentionsarray of stringA list of ids.
notes_docstringA mergeable notes document ("ydoc:v1:…"), see docs/sync.md "Mergeable documents". Write description (Markdown) instead unless you merge documents yourself.
occurrence_datestring | null (date)A calendar date, YYYY-MM-DD.
originOrigin | string | null
parent_idstring | null
positionnumber
priority1 | 2 | 3 | 41 is the highest, 4 the default.
project_idstring | null
recurrencestring | nullA repeat rule in English, such as "every weekday" (docs/recurrence.md).
rotationarray of stringA list of ids.
sampleboolean
section_idstring | null
sectorstring | nullA time sector: a week (2026-W45), a month (2026-11) or a quarter (2026-Q4); null for none (a write also takes "").
series_idstring | null
skippedboolean
spanboolean
split_fromSplitFrom | null
startstring | null (date)The date a task starts, YYYY-MM-DD.
tinyboolean
titlestring
workspace_idstring | null

Response 201: Task, plus:

Response 201: other fields
FieldTypeDescription
appendsarray of objectAppends not yet merged into the body, oldest first.
appends[].idstring
appends[].textstring
body_versionstring
fieldsobject

GET /api/v1/tasks/{id}

Get a task · Token or session

task or 404

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: Task, plus:

Response 200: other fields
FieldTypeDescription
appendsarray of objectAppends not yet merged into the body, oldest first.
appends[].idstring
appends[].textstring
body_versionstring
fieldsobject

PATCH /api/v1/tasks/{id}

Update a task · Token or session

partial update → task; ?default_reminder=true adds your default reminder when the task gets a due date

Path parameters
FieldTypeDescription
id requiredstringpath
Request body
FieldTypeDescription
assignee_idstring | null
blocked_byarray of stringA list of ids.
completed_atnumber | null
completed_bystring | null
created_atnumber
day_partstring | nullThe part of the day: morning, afternoon, or null (the evening is the evening flag).
deadlinestring | null (date)A calendar date, YYYY-MM-DD.
deleted_atnumber | null
descriptionstring
dueDue | null
energystring | nullThe energy a task needs: deep, medium or low; null for none (a write also takes "").
estimate_minutesinteger | null
eveningboolean
flow_modestring
habitboolean
habit_amountnumber
habit_anchorstring
habit_colorstring
habit_graduated_atnumber | null
habit_periodstring
habit_stepnumber
habit_targetnumber
habit_tinystring
habit_unitstring
ical_extrastring | null
labelsarray of string
locationLocation | string | null
note_mentionsarray of stringA list of ids.
notes_docstringA mergeable notes document ("ydoc:v1:…"), see docs/sync.md "Mergeable documents". Write description (Markdown) instead unless you merge documents yourself.
occurrence_datestring | null (date)A calendar date, YYYY-MM-DD.
originOrigin | string | null
parent_idstring | null
positionnumber
priority1 | 2 | 3 | 41 is the highest, 4 the default.
project_idstring | null
recurrencestring | nullA repeat rule in English, such as "every weekday" (docs/recurrence.md).
rotationarray of stringA list of ids.
sampleboolean
section_idstring | null
sectorstring | nullA time sector: a week (2026-W45), a month (2026-11) or a quarter (2026-Q4); null for none (a write also takes "").
series_idstring | null
skippedboolean
spanboolean
split_fromSplitFrom | null
startstring | null (date)The date a task starts, YYYY-MM-DD.
tinyboolean
titlestring
workspace_idstring | null

Response 200: Task, plus:

Response 200: other fields
FieldTypeDescription
appendsarray of objectAppends not yet merged into the body, oldest first.
appends[].idstring
appends[].textstring
body_versionstring
fieldsobject

DELETE /api/v1/tasks/{id}

Delete a task · Token or session

soft delete (to the Trash) → 204

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: OK

GET /api/v1/tasks/{id}/activity

Get task activity · Token or session

{events, more, cursor?} newest first, derived from the operation log; ?before=<cursor>&limit=<1-200> (default 50)

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
cursorstring
events requiredarray of object
events[].actor requiredstring
events[].actorNamestring
events[].changes requiredarray of object
events[].changes[].field requiredstring
events[].changes[].from requiredstring
events[].changes[].to requiredstring
events[].devicestring
events[].entity requiredstring
events[].entityId requiredstring
events[].id requiredstring
events[].kind requiredstring
events[].minutesnumber | null
events[].opIds requiredarray of string
events[].projectIdstring
events[].projectNamestring
events[].taskIdstring
events[].taskTitlestring
events[].ts requirednumber
more requiredboolean

GET /api/v1/tasks/{id}/comments

List task comments · Token or session

{comments}: the task's live comments in thread order; see Comments and activity

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
comments requiredarray of object

POST /api/v1/tasks/{id}/comments

Create a task comment · Token or session

{body, parent_id?, mentions?} → 201 comment; 429 rate_limited past 60 new comments a minute

Path parameters
FieldTypeDescription
id requiredstringpath

Response 201: Created

GET /api/v1/tasks/{id}/history

Get task history · Token or session

change sets from the operation log, oldest first; ?before=<ts>&limit=<1-200> pages backwards; see Trash and history

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
beforenumber
changeSets requiredarray of object
changeSets[].changes requiredarray of object
changeSets[].changes[].field requiredstring
changeSets[].changes[].from requiredstring
changeSets[].changes[].lostboolean
changeSets[].changes[].opId requiredstring
changeSets[].changes[].to requiredstring
changeSets[].device requiredstring
changeSets[].device_labelstring
changeSets[].ts requirednumber
changeSets[].userId requiredstring
entity requiredstring
id requiredstring
more requiredboolean

POST /api/v1/tasks/{id}/note/append

Task note append · Token or session

{id?, text} adds Markdown at the end of the note without replacing it → 201 {entity, entity_id, append_id, body_version}; see Appending to a note; 409 too_many_appends past 100 waiting; read and agent tokens get 403 insufficient_scope

Path parameters
FieldTypeDescription
id requiredstringpath
Request body
FieldTypeDescription
idstring
text requiredstring
Response 200
FieldTypeDescription
append_id requiredstring
body_version requiredstring
entity requiredstring
entity_id requiredstring
Response 201
FieldTypeDescription
append_id requiredstring
body_version requiredstring
entity requiredstring
entity_id requiredstring

GET /api/v1/tasks/{id}/occurrences

List task occurrences · Token or session

a recurring task's current, projected and recorded occurrence dates; from, to (at most 366 days), see A series' dates ahead

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
capped requiredboolean
occurrences requiredarray of object
occurrences[].date requiredstring
occurrences[].duestring
occurrences[].record_idstring
occurrences[].series_idstring
occurrences[].state requiredstring
occurrences[].timestring
occurrences[].tzstring
rule requiredstring
series_id requiredstring

PATCH /api/v1/tasks/{id}/occurrences/{date}

Update a task occurrence · Token or session

move or edit one occurrence alone, with task fields (due, title, priority, labels, estimate_minutes, description, …) → its record

Path parameters
FieldTypeDescription
id requiredstringpath
date requiredstringpath

Response 200: OK

POST /api/v1/tasks/{id}/occurrences/{date}/complete

Task occurrence complete · Token or session

complete one occurrence alone, {completed_at?} → its record; see One occurrence alone

Path parameters
FieldTypeDescription
id requiredstringpath
date requiredstringpath

Response 200: OK

POST /api/v1/tasks/{id}/occurrences/{date}/skip

Task occurrence skip · Token or session

skip one occurrence → its record (the series for a plain series' current occurrence)

Path parameters
FieldTypeDescription
id requiredstringpath
date requiredstringpath

Response 200: OK

GET /api/v1/tasks/{id}/page

Get task page · Token or session

the active page's status (never the secret or a key)

Refuses read and agent tokens.

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
createdBy requiredstring
encrypted requiredboolean
expiresAt requirednumber | null
id requiredstring
includeMap requiredboolean
label requiredstring | null
lastOpenedAt requirednumber | null
pendingReplies requirednumber
publishedAt requirednumber
replies requirednumber
rights requiredstring
snapshotAt requirednumber | null
taskId requiredstring
ticks requirednumber

POST /api/v1/tasks/{id}/page

Task page · Token or session

{rights, label?, expiresInDays?, includeMap?, snapshot?, wrappedKey?} → 201 the page with link (shown once), see Task pages

Refuses read and agent tokens. Needs a recently confirmed session or second factor.

Path parameters
FieldTypeDescription
id requiredstringpath
Request body
FieldTypeDescription
expiresInDaysnumber | null
includeMapboolean | null
labelstring | null
rights requiredstring
snapshot requiredstring
wrappedKey requiredstring
Response 201
FieldTypeDescription
encrypted requiredboolean
expiresAt requirednumber | null
id requiredstring
includeMap requiredboolean
label requiredstring | null
link requiredstring
publishedAt requirednumber
rights requiredstring
taskId requiredstring

DELETE /api/v1/tasks/{id}/page

Delete task page · Token or session

revoke → 204

Refuses read and agent tokens.

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: OK

GET /api/v1/tasks/{id}/page/replies

List task page replies · Token or session

pending encrypted replies {replies:[{id, ciphertext, createdAt}]}

Refuses read and agent tokens.

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
replies requiredarray of object
replies[].ciphertext requiredstring
replies[].createdAt requirednumber
replies[].id requiredstring

DELETE /api/v1/tasks/{id}/page/replies/{replyId}

Delete a task page reply · Token or session

confirm an imported reply → 204

Refuses read and agent tokens.

Path parameters
FieldTypeDescription
id requiredstringpath
replyId requiredstringpath

Response 200: OK

PUT /api/v1/tasks/{id}/page/snapshot

Update task page snapshot · Token or session

{ciphertext, version, wrappedKey?} → 200; an older version changes nothing

Refuses read and agent tokens.

Path parameters
FieldTypeDescription
id requiredstringpath
Request body
FieldTypeDescription
ciphertext requiredstring
version requirednumber
wrappedKey requiredstring
Response 200
FieldTypeDescription
ok requiredboolean

DELETE /api/v1/tasks/{id}/purge

Delete task purge · Token or session

permanently delete an item that is in the Trash → {purged:{tasks,projects,notes,reminders,sections,comments}}; 409 not_deleted otherwise

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
purged requiredobject
purged.attachments requirednumber
purged.comments requirednumber
purged.fields requirednumber
purged.notes requirednumber
purged.orphansnumber
purged.projects requirednumber
purged.reminders requirednumber
purged.sections requirednumber
purged.tasks requirednumber
purged.timeEntries requirednumber

POST /api/v1/tasks/{id}/split

Task split · Token or session

change a recurring task from a later occurrence on, {from, changes} → the new series; see This and following

Path parameters
FieldTypeDescription
id requiredstringpath
Request body
FieldTypeDescription
changes requiredobject
from requiredstring

Response 200: OK

GET /api/v1/tasks/{id}/time-entries

List task time entries · Token or session

one task's live time entries, newest first

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
entriesarray of object
entries[].deviceId requiredstring
entries[].endedAt requirednumber | null
entries[].focus requiredobject | null
entries[].focus.mode requiredstring
entries[].focus.plannedEndAt requirednumber | null
entries[].focus.session requirednumber
entries[].id requiredstring
entries[].minutes requirednumber
entries[].note requiredstring
entries[].projectId requiredstring | null
entries[].projectNamestring
entries[].startedAt requirednumber
entries[].taskId requiredstring
entries[].taskTitle requiredstring
entries[].userId requiredstring
nextCursorstring
serverTime requirednumber

GET /api/v1/time-entries

List time entries · Token or session

time entries you can read, newest first; task, from, to, tz, running, limit, cursor, format=csv, see Time entries

Response 200
FieldTypeDescription
entriesarray of object
entries[].deviceId requiredstring
entries[].endedAt requirednumber | null
entries[].focus requiredobject | null
entries[].focus.mode requiredstring
entries[].focus.plannedEndAt requirednumber | null
entries[].focus.session requirednumber
entries[].id requiredstring
entries[].minutes requirednumber
entries[].note requiredstring
entries[].projectId requiredstring | null
entries[].projectNamestring
entries[].startedAt requirednumber
entries[].taskId requiredstring
entries[].taskTitle requiredstring
entries[].userId requiredstring
nextCursorstring
serverTime requirednumber

POST /api/v1/time-entries

Create a time entry · Token or session

{taskId} starts an entry (the running one ends at its start), or {taskId, startedAt, endedAt, note?} logs a closed one → 201

Request body
FieldTypeDescription
endedAtnumber | null
notestring | null
startedAtnumber | null
taskIdstring | null
Response 200
FieldTypeDescription
deviceId requiredstring
endedAt requirednumber | null
focus requiredobject | null
focus.mode requiredstring
focus.plannedEndAt requirednumber | null
focus.session requirednumber
id requiredstring
minutes requirednumber
note requiredstring
projectId requiredstring | null
projectNamestring
startedAt requirednumber
taskId requiredstring
taskTitle requiredstring
userId requiredstring
Response 201
FieldTypeDescription
deviceId requiredstring
endedAt requirednumber | null
focus requiredobject | null
focus.mode requiredstring
focus.plannedEndAt requirednumber | null
focus.session requirednumber
id requiredstring
minutes requirednumber
note requiredstring
projectId requiredstring | null
projectNamestring
startedAt requirednumber
taskId requiredstring
taskTitle requiredstring
userId requiredstring

PATCH /api/v1/time-entries/{id}

Update a time entry · Token or session

{startedAt?, endedAt?, note?} → the entry

Path parameters
FieldTypeDescription
id requiredstringpath
Request body
FieldTypeDescription
endedAtnumber | null
notestring | null
startedAtnumber | null
taskIdstring | null
Response 200
FieldTypeDescription
deviceId requiredstring
endedAt requirednumber | null
focus requiredobject | null
focus.mode requiredstring
focus.plannedEndAt requirednumber | null
focus.session requirednumber
id requiredstring
minutes requirednumber
note requiredstring
projectId requiredstring | null
projectNamestring
startedAt requirednumber
taskId requiredstring
taskTitle requiredstring
userId requiredstring

DELETE /api/v1/time-entries/{id}

Delete a time entry · Token or session

tombstone an entry (author, project admin or owner) → 204

Path parameters
FieldTypeDescription
id requiredstringpath

Response 204: No content

GET /api/v1/time-entries/running

Get time entries running · Token or session

your own running entry with its Focus details, or null: {entry, serverTime}, see The running entry

Response 200
FieldTypeDescription
entry requiredobject | null
entry.deviceId requiredstring
entry.endedAt requirednumber | null
entry.focus requiredobject | null
entry.focus.mode requiredstring
entry.focus.plannedEndAt requirednumber | null
entry.focus.session requirednumber
entry.id requiredstring
entry.minutes requirednumber
entry.note requiredstring
entry.projectId requiredstring | null
entry.projectNamestring
entry.startedAt requirednumber
entry.taskId requiredstring
entry.taskTitle requiredstring
entry.userId requiredstring
serverTime requirednumber

POST /api/v1/time-entries/stop

Time entries stop · Token or session

stop your running entry → the entry; 404 when none runs

Response 200
FieldTypeDescription
deviceId requiredstring
endedAt requirednumber | null
focus requiredobject | null
focus.mode requiredstring
focus.plannedEndAt requirednumber | null
focus.session requirednumber
id requiredstring
minutes requirednumber
note requiredstring
projectId requiredstring | null
projectNamestring
startedAt requirednumber
taskId requiredstring
taskTitle requiredstring
userId requiredstring

POST /api/v1/trash/purge

Trash purge · Token or session

empty the Trash (every deleted task, project and note you may delete) → {purged:{…}}

Response 200
FieldTypeDescription
purged requiredobject
purged.attachments requirednumber
purged.comments requirednumber
purged.fields requirednumber
purged.notes requirednumber
purged.orphansnumber
purged.projects requirednumber
purged.reminders requirednumber
purged.sections requirednumber
purged.tasks requirednumber
purged.timeEntries requirednumber

GET /api/v1/views

List views · Token or session

same shape for saved views, see View fields

Response 200
FieldTypeDescription
views requiredarray of View

POST /api/v1/views

Create a view · Token or session

same shape for saved views, see View fields

Request body
FieldTypeDescription
card_notesboolean
colorstring
created_atnumber
deleted_atnumber | null
group_bystring
hidden_propsarray of string
iconstring | null
kindstring
layoutstring
manual_orderarray of stringIds in their display order.
namestring
on_dropanyA section's on-drop rule (docs/sync.md).
panelsarray of string
pinnedboolean
positionnumber
querystring
row_layoutstring
show_completedboolean
sort_bystring
sort_dirstring
subtasksstring
workspace_idstring | null

Response 200: View

GET /api/v1/views/{id}

Get a view · Token or session

same shape for saved views, see View fields

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: View

PATCH /api/v1/views/{id}

Update a view · Token or session

same shape for saved views, see View fields

Path parameters
FieldTypeDescription
id requiredstringpath
Request body
FieldTypeDescription
card_notesboolean
colorstring
created_atnumber
deleted_atnumber | null
group_bystring
hidden_propsarray of string
iconstring | null
kindstring
layoutstring
manual_orderarray of stringIds in their display order.
namestring
on_dropanyA section's on-drop rule (docs/sync.md).
panelsarray of string
pinnedboolean
positionnumber
querystring
row_layoutstring
show_completedboolean
sort_bystring
sort_dirstring
subtasksstring
workspace_idstring | null

Response 200: View

DELETE /api/v1/views/{id}

Delete a view · Token or session

same shape for saved views, see View fields

Path parameters
FieldTypeDescription
id requiredstringpath

Response 200: OK

GET /api/v1/workspaces/{id}/activity

Get workspace activity · Token or session

every actor's events in the workspace's projects and Inbox that you can read; ?cursor=&limit=&from=&to=&project=&actor=&kind=; see Workspace activity

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
cursorstring
events requiredarray of object
events[].actor requiredstring
events[].actorNamestring
events[].changes requiredarray of object
events[].changes[].field requiredstring
events[].changes[].from requiredstring
events[].changes[].to requiredstring
events[].devicestring
events[].entity requiredstring
events[].entityId requiredstring
events[].id requiredstring
events[].kind requiredstring
events[].minutesnumber | null
events[].opIds requiredarray of string
events[].projectIdstring
events[].projectNamestring
events[].taskIdstring
events[].taskTitlestring
events[].ts requirednumber
more requiredboolean

This group in the HTTP API guide