Tasks, projects and other synced data API
- GET
/api/v1/activity - POST
/api/v1/away - DELETE
/api/v1/away - PATCH
/api/v1/comments/{id} - DELETE
/api/v1/comments/{id} - PUT
/api/v1/comments/{id}/reactions - GET
/api/v1/export - GET
/api/v1/fields - POST
/api/v1/fields - GET
/api/v1/fields/{id} - PATCH
/api/v1/fields/{id} - DELETE
/api/v1/fields/{id} - GET
/api/v1/habits - GET
/api/v1/habits/{id} - POST
/api/v1/habits/{id}/log - POST
/api/v1/import - GET
/api/v1/import/jobs - GET
/api/v1/import/jobs/{id} - GET
/api/v1/import/jobs/{id}/items - POST
/api/v1/import/jobs/{id}/undo - POST
/api/v1/import/preview - POST
/api/v1/import/todoist - GET
/api/v1/labels - GET
/api/v1/labels/{id} - DELETE
/api/v1/labels/{id} - GET
/api/v1/me/member-invitations - POST
/api/v1/me/member-invitations/{id}/accept - POST
/api/v1/me/member-invitations/{id}/decline - GET
/api/v1/notes - POST
/api/v1/notes - GET
/api/v1/notes/{id} - PATCH
/api/v1/notes/{id} - DELETE
/api/v1/notes/{id} - POST
/api/v1/notes/{id}/append - GET
/api/v1/notes/{id}/history - GET
/api/v1/notes/{id}/page - POST
/api/v1/notes/{id}/page - DELETE
/api/v1/notes/{id}/page - PUT
/api/v1/notes/{id}/page/snapshot - DELETE
/api/v1/notes/{id}/purge - POST
/api/v1/notes/{id}/to-task - GET
/api/v1/objectives - POST
/api/v1/objectives - GET
/api/v1/objectives/{id} - PATCH
/api/v1/objectives/{id} - DELETE
/api/v1/objectives/{id} - GET
/api/v1/pages/{secret} - GET
/api/v1/pages/{secret}/files/{fileId} - GET
/api/v1/pages/{secret}/maps/fonts/{fontstack}/{range} - GET
/api/v1/pages/{secret}/maps/sprites/{file} - GET
/api/v1/pages/{secret}/maps/tiles/{z}/{x}/{y} - POST
/api/v1/pages/{secret}/replies - POST
/api/v1/pages/{secret}/tick - POST
/api/v1/project-invites/{token}/accept - GET
/api/v1/projects - GET
/api/v1/projects/{id} - DELETE
/api/v1/projects/{id} - GET
/api/v1/projects/{id}/activity - GET
/api/v1/projects/{id}/history - GET
/api/v1/projects/{id}/invites - POST
/api/v1/projects/{id}/invites - DELETE
/api/v1/projects/{id}/invites/{inviteId} - DELETE
/api/v1/projects/{id}/member-invitations/{invitationId} - GET
/api/v1/projects/{id}/members - POST
/api/v1/projects/{id}/members - PATCH
/api/v1/projects/{id}/members/{userId} - DELETE
/api/v1/projects/{id}/members/{userId} - GET
/api/v1/projects/{id}/public-links - POST
/api/v1/projects/{id}/public-links - DELETE
/api/v1/projects/{id}/public-links/{linkId} - DELETE
/api/v1/projects/{id}/purge - POST
/api/v1/projects/{id}/transfer - GET
/api/v1/public/{token} - POST
/api/v1/public/{token}/tick - POST
/api/v1/quick-add/parse - GET
/api/v1/reminders - GET
/api/v1/reminders/{id} - GET
/api/v1/sections - GET
/api/v1/sections/{id} - GET
/api/v1/settings/project-invites - PUT
/api/v1/settings/project-invites - POST
/api/v1/sync - GET
/api/v1/sync/events - GET
/api/v1/task-pages - GET
/api/v1/tasks - POST
/api/v1/tasks - GET
/api/v1/tasks/{id} - PATCH
/api/v1/tasks/{id} - DELETE
/api/v1/tasks/{id} - GET
/api/v1/tasks/{id}/activity - GET
/api/v1/tasks/{id}/comments - POST
/api/v1/tasks/{id}/comments - GET
/api/v1/tasks/{id}/history - POST
/api/v1/tasks/{id}/note/append - GET
/api/v1/tasks/{id}/occurrences - PATCH
/api/v1/tasks/{id}/occurrences/{date} - POST
/api/v1/tasks/{id}/occurrences/{date}/complete - POST
/api/v1/tasks/{id}/occurrences/{date}/skip - GET
/api/v1/tasks/{id}/page - POST
/api/v1/tasks/{id}/page - DELETE
/api/v1/tasks/{id}/page - GET
/api/v1/tasks/{id}/page/replies - DELETE
/api/v1/tasks/{id}/page/replies/{replyId} - PUT
/api/v1/tasks/{id}/page/snapshot - DELETE
/api/v1/tasks/{id}/purge - POST
/api/v1/tasks/{id}/split - GET
/api/v1/tasks/{id}/time-entries - GET
/api/v1/time-entries - POST
/api/v1/time-entries - PATCH
/api/v1/time-entries/{id} - DELETE
/api/v1/time-entries/{id} - GET
/api/v1/time-entries/running - POST
/api/v1/time-entries/stop - POST
/api/v1/trash/purge - GET
/api/v1/views - POST
/api/v1/views - GET
/api/v1/views/{id} - PATCH
/api/v1/views/{id} - DELETE
/api/v1/views/{id} - GET
/api/v1/workspaces/{id}/activity
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
| Field | Type | Description |
|---|---|---|
cursor | string | |
events required | array of object | |
events[].actor required | string | |
events[].actorName | string | |
events[].changes required | array of object | |
events[].changes[].field required | string | |
events[].changes[].from required | string | |
events[].changes[].to required | string | |
events[].device | string | |
events[].entity required | string | |
events[].entityId required | string | |
events[].id required | string | |
events[].kind required | string | |
events[].minutes | number | null | |
events[].opIds required | array of string | |
events[].projectId | string | |
events[].projectName | string | |
events[].taskId | string | |
events[].taskTitle | string | |
events[].ts required | number | |
more required | boolean |
POST /api/v1/away
Away · Token or session
set an away period, {from, to, projects?, labels?, pauseReminders?} → {away, skipped}; see Away
| Field | Type | Description |
|---|---|---|
from required | string | |
labels | array of string | |
pauseReminders | boolean | null | |
projects | array of string | |
to required | string |
| Field | Type | Description |
|---|---|---|
away required | string | |
skipped required | number |
DELETE /api/v1/away
Delete away · Token or session
end the away period now; its skips stay → 204
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
DELETE /api/v1/comments/{id}
Delete a comment · Token or session
204; allowed for the author, project admins and the owner
| Field | Type | Description |
|---|---|---|
id required | string | path |
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.
| Field | Type | Description |
|---|---|---|
id required | string | path |
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
| Field | Type | Description |
|---|---|---|
attachments required | array of object | |
comments required | array of object | |
encryption required | object | null | |
encryption.createdAt required | number | |
encryption.iterations required | number | |
encryption.kdf required | number | |
encryption.salt required | string | |
encryption.updatedAt required | number | |
encryption.version required | number | |
encryption.wrappedByPassphrase required | string | |
encryption.wrappedByRecovery required | string | |
exportedAt required | string | |
format required | string | |
habit_tallies required | array of object | |
memory required | array of object | |
places required | array of object | |
project_prefs required | array of object | |
review required | array of object | |
themes required | array of object | |
time_entries required | array of object | |
userId required | string | |
user_prefs required | array of object | |
version required | number | |
workspaces required | array of object |
GET /api/v1/fields
List fields · Token or session
same shape for custom field definitions, see Custom fields
| Field | Type | Description |
|---|---|---|
fields required | array of Field |
POST /api/v1/fields
Create a field · Token or session
same shape for custom field definitions, see Custom fields
| Field | Type | Description |
|---|---|---|
created_at | number | |
deleted_at | number | null | |
name | string | |
options | string | |
position | number | |
project_id | string | An id: a UUID, or for some entities a name-based id. |
type | string | |
workspace_id | string | null |
GET /api/v1/fields/{id}
Get a field · Token or session
same shape for custom field definitions, see Custom fields
| Field | Type | Description |
|---|---|---|
id required | string | path |
PATCH /api/v1/fields/{id}
Update a field · Token or session
same shape for custom field definitions, see Custom fields
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
created_at | number | |
deleted_at | number | null | |
name | string | |
options | string | |
position | number | |
project_id | string | An id: a UUID, or for some entities a name-based id. |
type | string | |
workspace_id | string | null |
DELETE /api/v1/fields/{id}
Delete a field · Token or session
same shape for custom field definitions, see Custom fields
| Field | Type | Description |
|---|---|---|
id required | string | path |
GET /api/v1/habits
List habits · Token or session
your open habits with their numbers (list_habits' shape); graduated=true, timezone; see Habits
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
POST /api/v1/import
Import · Token or session
multipart file + options → 202 {job}; the import runs in the background
| Field | Type | Description |
|---|---|---|
job required | object | null | |
job.createdAt required | number | |
job.errors required | array of object | |
job.errors[].reason required | string | |
job.errors[].row | number | |
job.errors[].sourceId | string | |
job.finishedAt required | number | null | |
job.format required | string | |
job.id required | string | |
job.message | string | |
job.options required | object | |
job.options.clientToken | string | |
job.options.columns | object | |
job.options.content | string | |
job.options.duplicates | string | |
job.options.errors | string | |
job.options.existing | string | |
job.options.format | string | |
job.options.sections | string | |
job.options.targetProject | string | |
job.options.timeZone | string | |
job.options.workspace | string | |
job.status required | string | |
job.totals required | object | |
job.totals.attachments required | number | |
job.totals.comments required | number | |
job.totals.create required | number | |
job.totals.deadlines required | number | |
job.totals.entities required | number | |
job.totals.error required | number | |
job.totals.fields required | number | |
job.totals.newLabels required | number | |
job.totals.newProjects required | number | |
job.totals.newSections required | number | |
job.totals.notes required | number | |
job.totals.ops required | number | |
job.totals.places required | number | |
job.totals.possibleDuplicates required | number | |
job.totals.recurring required | number | |
job.totals.refused | number | |
job.totals.reminders required | number | |
job.totals.rows required | number | |
job.totals.skip required | number | |
job.totals.timeEntries required | number | |
job.totals.update required | number | |
job.totals.warnings required | number | |
job.totals.written required | number | |
job.undoneAt required | number | null | |
job.viewHints | array of object | |
job.viewHints[].projectId required | string | |
job.viewHints[].view required | string |
GET /api/v1/import/jobs
List import jobs · Token or session
{jobs:[…]}, newest first (last 50)
| Field | Type | Description |
|---|---|---|
jobs required | array of object | |
jobs[].createdAt required | number | |
jobs[].errors required | array of object | |
jobs[].errors[].reason required | string | |
jobs[].errors[].row | number | |
jobs[].errors[].sourceId | string | |
jobs[].finishedAt required | number | null | |
jobs[].format required | string | |
jobs[].id required | string | |
jobs[].message | string | |
jobs[].options required | object | |
jobs[].options.clientToken | string | |
jobs[].options.columns | object | |
jobs[].options.content | string | |
jobs[].options.duplicates | string | |
jobs[].options.errors | string | |
jobs[].options.existing | string | |
jobs[].options.format | string | |
jobs[].options.sections | string | |
jobs[].options.targetProject | string | |
jobs[].options.timeZone | string | |
jobs[].options.workspace | string | |
jobs[].status required | string | |
jobs[].totals required | object | |
jobs[].totals.attachments required | number | |
jobs[].totals.comments required | number | |
jobs[].totals.create required | number | |
jobs[].totals.deadlines required | number | |
jobs[].totals.entities required | number | |
jobs[].totals.error required | number | |
jobs[].totals.fields required | number | |
jobs[].totals.newLabels required | number | |
jobs[].totals.newProjects required | number | |
jobs[].totals.newSections required | number | |
jobs[].totals.notes required | number | |
jobs[].totals.ops required | number | |
jobs[].totals.places required | number | |
jobs[].totals.possibleDuplicates required | number | |
jobs[].totals.recurring required | number | |
jobs[].totals.refused | number | |
jobs[].totals.reminders required | number | |
jobs[].totals.rows required | number | |
jobs[].totals.skip required | number | |
jobs[].totals.timeEntries required | number | |
jobs[].totals.update required | number | |
jobs[].totals.warnings required | number | |
jobs[].totals.written required | number | |
jobs[].undoneAt required | number | null | |
jobs[].viewHints | array of object | |
jobs[].viewHints[].projectId required | string | |
jobs[].viewHints[].view required | string |
GET /api/v1/import/jobs/{id}
Get a import job · Token or session
{job} with status, counts and row errors
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
job required | object | null | |
job.createdAt required | number | |
job.errors required | array of object | |
job.errors[].reason required | string | |
job.errors[].row | number | |
job.errors[].sourceId | string | |
job.finishedAt required | number | null | |
job.format required | string | |
job.id required | string | |
job.message | string | |
job.options required | object | |
job.options.clientToken | string | |
job.options.columns | object | |
job.options.content | string | |
job.options.duplicates | string | |
job.options.errors | string | |
job.options.existing | string | |
job.options.format | string | |
job.options.sections | string | |
job.options.targetProject | string | |
job.options.timeZone | string | |
job.options.workspace | string | |
job.status required | string | |
job.totals required | object | |
job.totals.attachments required | number | |
job.totals.comments required | number | |
job.totals.create required | number | |
job.totals.deadlines required | number | |
job.totals.entities required | number | |
job.totals.error required | number | |
job.totals.fields required | number | |
job.totals.newLabels required | number | |
job.totals.newProjects required | number | |
job.totals.newSections required | number | |
job.totals.notes required | number | |
job.totals.ops required | number | |
job.totals.places required | number | |
job.totals.possibleDuplicates required | number | |
job.totals.recurring required | number | |
job.totals.refused | number | |
job.totals.reminders required | number | |
job.totals.rows required | number | |
job.totals.skip required | number | |
job.totals.timeEntries required | number | |
job.totals.update required | number | |
job.totals.warnings required | number | |
job.totals.written required | number | |
job.undoneAt required | number | null | |
job.viewHints | array of object | |
job.viewHints[].projectId required | string | |
job.viewHints[].view required | string |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
items required | array of object | |
items[].action required | string | |
items[].entity required | string | |
items[].entityId required | string | |
items[].sourceId required | string |
POST /api/v1/import/jobs/{id}/undo
Import job undo · Token or session
tombstone everything the job created → {job} (status undone); idempotent
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
job required | object | null | |
job.createdAt required | number | |
job.errors required | array of object | |
job.errors[].reason required | string | |
job.errors[].row | number | |
job.errors[].sourceId | string | |
job.finishedAt required | number | null | |
job.format required | string | |
job.id required | string | |
job.message | string | |
job.options required | object | |
job.options.clientToken | string | |
job.options.columns | object | |
job.options.content | string | |
job.options.duplicates | string | |
job.options.errors | string | |
job.options.existing | string | |
job.options.format | string | |
job.options.sections | string | |
job.options.targetProject | string | |
job.options.timeZone | string | |
job.options.workspace | string | |
job.status required | string | |
job.totals required | object | |
job.totals.attachments required | number | |
job.totals.comments required | number | |
job.totals.create required | number | |
job.totals.deadlines required | number | |
job.totals.entities required | number | |
job.totals.error required | number | |
job.totals.fields required | number | |
job.totals.newLabels required | number | |
job.totals.newProjects required | number | |
job.totals.newSections required | number | |
job.totals.notes required | number | |
job.totals.ops required | number | |
job.totals.places required | number | |
job.totals.possibleDuplicates required | number | |
job.totals.recurring required | number | |
job.totals.refused | number | |
job.totals.reminders required | number | |
job.totals.rows required | number | |
job.totals.skip required | number | |
job.totals.timeEntries required | number | |
job.totals.update required | number | |
job.totals.warnings required | number | |
job.totals.written required | number | |
job.undoneAt required | number | null | |
job.viewHints | array of object | |
job.viewHints[].projectId required | string | |
job.viewHints[].view required | string |
POST /api/v1/import/preview
Import preview · Token or session
multipart file + options → dry run {format, totals, rows, …}, see Import
| Field | Type | Description |
|---|---|---|
columns | object | null | |
columns.available | array of string | |
columns.ignored required | array of string | |
columns.recognised required | array of string | |
columns.roles | object | |
detected | string | |
format required | string | |
notes required | array of string | |
options required | object | |
options.clientToken | string | |
options.columns | object | |
options.content | string | |
options.duplicates | string | |
options.errors | string | |
options.existing | string | |
options.format | string | |
options.sections | string | |
options.targetProject | string | |
options.timeZone | string | |
options.workspace | string | |
rows required | array of object | |
rows[].file | string | |
rows[].kind required | string | |
rows[].outcome required | string | |
rows[].project | string | |
rows[].reason | string | |
rows[].row | number | |
rows[].sourceId | string | |
rows[].title required | string | |
rows[].warnings | array of string | |
template | object | null | |
template.day | string | |
totals required | object | |
totals.attachments required | number | |
totals.comments required | number | |
totals.create required | number | |
totals.deadlines required | number | |
totals.entities required | number | |
totals.error required | number | |
totals.fields required | number | |
totals.newLabels required | number | |
totals.newProjects required | number | |
totals.newSections required | number | |
totals.notes required | number | |
totals.ops required | number | |
totals.places required | number | |
totals.possibleDuplicates required | number | |
totals.recurring required | number | |
totals.refused | number | |
totals.reminders required | number | |
totals.rows required | number | |
totals.skip required | number | |
totals.timeEntries required | number | |
totals.update required | number | |
totals.warnings required | number | |
totals.written required | number | |
truncated required | boolean | |
version | number | |
viewHints | array of object | |
viewHints[].projectId required | string | |
viewHints[].view required | string |
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.
| Field | Type | Description |
|---|---|---|
token required | string |
GET /api/v1/labels
List labels · Token or session
same shape for labels, see Label fields
| Field | Type | Description |
|---|---|---|
labels required | array of Label |
GET /api/v1/labels/{id}
Get a label · Token or session
same shape for labels, see Label fields
| Field | Type | Description |
|---|---|---|
id required | string | path |
DELETE /api/v1/labels/{id}
Delete a label · Token or session
same shape for labels, see Label fields
| Field | Type | Description |
|---|---|---|
id required | string | path |
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.
| Field | Type | Description |
|---|---|---|
invitations required | array 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.
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
kind required | string | |
role required | string | |
targetId required | string |
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.
| Field | Type | Description |
|---|---|---|
id required | string | path |
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
| Field | Type | Description |
|---|---|---|
notes required | array of Note + object | |
notes[].appends | array of object | Appends not yet merged into the body, oldest first. |
notes[].appends[].id | string | |
notes[].appends[].text | string | |
notes[].body_version | string |
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
| Field | Type | Description |
|---|---|---|
created_at | number | |
day | string | |
deleted_at | number | null | |
description | string | |
labels | array of string | |
notes_doc | string | A mergeable notes document ("ydoc:v1:…"), see docs/sync.md "Mergeable documents". Write description (Markdown) instead unless you merge documents yourself. |
position | number | |
project_id | string | null | |
template | boolean | |
title | string | |
workspace_id | string | null |
| Field | Type | Description |
|---|---|---|
appends | array of object | Appends not yet merged into the body, oldest first. |
appends[].id | string | |
appends[].text | string | |
body_version | string |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
appends | array of object | Appends not yet merged into the body, oldest first. |
appends[].id | string | |
appends[].text | string | |
body_version | string |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
created_at | number | |
day | string | |
deleted_at | number | null | |
description | string | |
labels | array of string | |
notes_doc | string | A mergeable notes document ("ydoc:v1:…"), see docs/sync.md "Mergeable documents". Write description (Markdown) instead unless you merge documents yourself. |
position | number | |
project_id | string | null | |
template | boolean | |
title | string | |
workspace_id | string | null |
| Field | Type | Description |
|---|---|---|
appends | array of object | Appends not yet merged into the body, oldest first. |
appends[].id | string | |
appends[].text | string | |
body_version | string |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
id | string | |
text required | string |
| Field | Type | Description |
|---|---|---|
append_id required | string | |
body_version required | string | |
entity required | string | |
entity_id required | string |
| Field | Type | Description |
|---|---|---|
append_id required | string | |
body_version required | string | |
entity required | string | |
entity_id required | string |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
before | number | |
changeSets required | array of object | |
changeSets[].changes required | array of object | |
changeSets[].changes[].field required | string | |
changeSets[].changes[].from required | string | |
changeSets[].changes[].lost | boolean | |
changeSets[].changes[].opId required | string | |
changeSets[].changes[].to required | string | |
changeSets[].device required | string | |
changeSets[].device_label | string | |
changeSets[].ts required | number | |
changeSets[].userId required | string | |
entity required | string | |
id required | string | |
more required | boolean |
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.
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
createdBy required | string | |
encrypted required | boolean | |
expiresAt required | number | null | |
id required | string | |
label required | string | null | |
lastOpenedAt required | number | null | |
noteId required | string | |
publishedAt required | number | |
snapshotAt required | number | 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.
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
expiresInDays | number | null | |
label | string | null | |
snapshot required | string | |
wrappedKey required | string |
| Field | Type | Description |
|---|---|---|
encrypted required | boolean | |
expiresAt required | number | null | |
id required | string | |
label required | string | null | |
link required | string | |
noteId required | string | |
publishedAt required | number |
DELETE /api/v1/notes/{id}/page
Delete note page · Token or session
revoke → 204
Refuses read and agent tokens.
| Field | Type | Description |
|---|---|---|
id required | string | path |
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.
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
ciphertext required | string | |
version required | number | |
wrappedKey required | string |
| Field | Type | Description |
|---|---|---|
ok required | boolean |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
purged required | object | |
purged.attachments required | number | |
purged.comments required | number | |
purged.fields required | number | |
purged.notes required | number | |
purged.orphans | number | |
purged.projects required | number | |
purged.reminders required | number | |
purged.sections required | number | |
purged.tasks required | number | |
purged.timeEntries required | number |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
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
| Field | Type | Description |
|---|---|---|
objectives required | array 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
| Field | Type | Description |
|---|---|---|
created_at | number | |
deleted_at | number | null | |
done_at | number | |
period | string | An objective's period: a quarter (2026-Q4), a month or a year. |
position | number | |
title | string |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
created_at | number | |
deleted_at | number | null | |
done_at | number | |
period | string | An objective's period: a quarter (2026-Q4), a month or a year. |
position | number | |
title | string |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
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.
| Field | Type | Description |
|---|---|---|
secret required | string | path |
| Field | Type | Description |
|---|---|---|
changedAt | number | |
comments | array of object | |
files | array of object | |
id | string | |
kind required | string | |
label required | string | null | |
links | array of object | |
location | string | null | |
mode | string | |
rights required | string | |
serverTime required | number | |
snapshot | string | |
snapshotAt | number | null | |
subtasks | array of object | |
text | string | |
title | string |
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.
| Field | Type | Description |
|---|---|---|
secret required | string | path |
fileId required | string | path |
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.
| Field | Type | Description |
|---|---|---|
secret required | string | path |
fontstack required | string | path |
range required | string | path |
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.
| Field | Type | Description |
|---|---|---|
secret required | string | path |
file required | string | path |
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.
| Field | Type | Description |
|---|---|---|
secret required | string | path |
z required | string | path |
x required | string | path |
y required | string | path |
POST /api/v1/pages/{secret}/replies
Create a page reply · No authentication
{name, body}, or {ciphertext} on an encrypted page → 201
No authentication.
| Field | Type | Description |
|---|---|---|
secret required | string | path |
| Field | Type | Description |
|---|---|---|
body required | string | |
ciphertext required | string | |
name required | string |
| Field | Type | Description |
|---|---|---|
body | string | |
createdAt | number | |
guest | boolean | |
id required | string | |
name | string | |
pending | boolean |
POST /api/v1/pages/{secret}/tick
Page tick · No authentication
{taskId, completed, name} → {taskId, completed_at}
No authentication.
| Field | Type | Description |
|---|---|---|
secret required | string | path |
| Field | Type | Description |
|---|---|---|
completed | boolean | null | |
name required | string | |
taskId required | string |
| Field | Type | Description |
|---|---|---|
completed_at required | string | |
taskId required | string |
POST /api/v1/project-invites/{token}/accept
Project invite accept · Token or session
join the project as the signed-in account → {projectId, role}
| Field | Type | Description |
|---|---|---|
token required | string | path |
| Field | Type | Description |
|---|---|---|
projectId required | string | |
role required | string |
GET /api/v1/projects
List projects · Token or session
same shape for projects, see Project fields
| Field | Type | Description |
|---|---|---|
projects required | array of Project + object | |
projects[].body_version | string |
GET /api/v1/projects/{id}
Get a project · Token or session
same shape for projects, see Project fields
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
body_version | string |
DELETE /api/v1/projects/{id}
Delete a project · Token or session
same shape for projects, see Project fields
| Field | Type | Description |
|---|---|---|
id required | string | path |
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)
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
cursor | string | |
events required | array of object | |
events[].actor required | string | |
events[].actorName | string | |
events[].changes required | array of object | |
events[].changes[].field required | string | |
events[].changes[].from required | string | |
events[].changes[].to required | string | |
events[].device | string | |
events[].entity required | string | |
events[].entityId required | string | |
events[].id required | string | |
events[].kind required | string | |
events[].minutes | number | null | |
events[].opIds required | array of string | |
events[].projectId | string | |
events[].projectName | string | |
events[].taskId | string | |
events[].taskTitle | string | |
events[].ts required | number | |
more required | boolean |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
before | number | |
changeSets required | array of object | |
changeSets[].changes required | array of object | |
changeSets[].changes[].field required | string | |
changeSets[].changes[].from required | string | |
changeSets[].changes[].lost | boolean | |
changeSets[].changes[].opId required | string | |
changeSets[].changes[].to required | string | |
changeSets[].device required | string | |
changeSets[].device_label | string | |
changeSets[].ts required | number | |
changeSets[].userId required | string | |
entity required | string | |
id required | string | |
more required | boolean |
GET /api/v1/projects/{id}/invites
List project invites · Token or session
pending invite links {invites:[…]}, see Project invite links
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
invites required | array of object | |
invites[].createdAt required | number | |
invites[].createdBy required | string | |
invites[].createdByName required | string | |
invites[].email required | string | null | |
invites[].expiresAt required | number | |
invites[].id required | string | |
invites[].projectId required | string | |
invites[].role required | string |
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.
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
email required | string | |
expiresInHours | number | null | |
role required | string | |
send required | boolean |
| Field | Type | Description |
|---|---|---|
invite required | object | null | |
invite.createdAt required | number | |
invite.createdBy required | string | |
invite.createdByName required | string | |
invite.email required | string | null | |
invite.expiresAt required | number | |
invite.id required | string | |
invite.projectId required | string | |
invite.role required | string | |
link required | string | |
newAccounts required | boolean | |
sent | boolean |
DELETE /api/v1/projects/{id}/invites/{inviteId}
Delete a project invite · Token or session
revoke a pending link → 204
| Field | Type | Description |
|---|---|---|
id required | string | path |
inviteId required | string | path |
DELETE /api/v1/projects/{id}/member-invitations/{invitationId}
Delete a project member invitation · Token or session
cancel an open invitation → 204; 404 not_found
| Field | Type | Description |
|---|---|---|
id required | string | path |
invitationId required | string | path |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
grants | array of object | |
grants[].groupId required | string | |
grants[].name required | string | |
grants[].role required | string | |
members required | array of object | |
members[].avatarVersion | number | |
members[].email required | string | |
members[].name required | string | |
members[].role required | string | |
members[].userId required | string | |
members[].via required | array of object | |
members[].via[].id required | string | |
members[].via[].name | string | |
ownerId required | string | |
pending | array of object | The open invitations, shown to the owner and admins. |
pending[].createdAt | number | |
pending[].email | string | |
pending[].expiresAt | number | |
pending[].id | string | |
pending[].invitedBy | string | |
pending[].role | string | |
projectId required | string | |
role required | string |
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)
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
email required | string | |
role required | string | |
userId required | string |
| Field | Type | Description |
|---|---|---|
grants | array of object | |
grants[].groupId required | string | |
grants[].name required | string | |
grants[].role required | string | |
members | array of object | |
members[].avatarVersion | number | |
members[].email required | string | |
members[].name required | string | |
members[].role required | string | |
members[].userId required | string | |
members[].via required | array of object | |
members[].via[].id required | string | |
members[].via[].name | string | |
ownerId | string | |
pending | array of object | boolean | |
projectId | string | |
role | string |
| Field | Type | Description |
|---|---|---|
grants | array of object | |
grants[].groupId required | string | |
grants[].name required | string | |
grants[].role required | string | |
members | array of object | |
members[].avatarVersion | number | |
members[].email required | string | |
members[].name required | string | |
members[].role required | string | |
members[].userId required | string | |
members[].via required | array of object | |
members[].via[].id required | string | |
members[].via[].name | string | |
ownerId | string | |
pending | array of object | boolean | |
projectId | string | |
role | string |
PATCH /api/v1/projects/{id}/members/{userId}
Update a project member · Token or session
{role} → membership
| Field | Type | Description |
|---|---|---|
id required | string | path |
userId required | string | path |
| Field | Type | Description |
|---|---|---|
role required | string |
| Field | Type | Description |
|---|---|---|
grants | array of object | |
grants[].groupId required | string | |
grants[].name required | string | |
grants[].role required | string | |
members required | array of object | |
members[].avatarVersion | number | |
members[].email required | string | |
members[].name required | string | |
members[].role required | string | |
members[].userId required | string | |
members[].via required | array of object | |
members[].via[].id required | string | |
members[].via[].name | string | |
ownerId required | string | |
pending | array of object | The open invitations, shown to the owner and admins. |
pending[].createdAt | number | |
pending[].email | string | |
pending[].expiresAt | number | |
pending[].id | string | |
pending[].invitedBy | string | |
pending[].role | string | |
projectId required | string | |
role required | string |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
userId required | string | path |
GET /api/v1/projects/{id}/public-links
List project public links · Token or session
active public links {links:[…]}, see Public links
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
links required | array of object | |
links[].createdAt required | number | |
links[].createdBy required | string | |
links[].createdByName | string | |
links[].expiresAt required | number | null | |
links[].id required | string | |
links[].lastUsedAt required | number | null | |
links[].layout required | string | |
links[].name required | string | null | |
links[].projectId required | string | |
links[].rights required | string |
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.
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
expiresInDays | number | null | |
layout required | string | |
name required | string | |
rights required | string |
| Field | Type | Description |
|---|---|---|
createdAt required | number | |
createdBy required | string | |
createdByName required | string | |
expiresAt required | number | null | |
id required | string | |
lastUsedAt required | number | null | |
layout required | string | |
link required | string | |
name required | string | null | |
projectId required | string | |
rights required | string |
DELETE /api/v1/projects/{id}/public-links/{linkId}
Delete a project public link · Token or session
revoke → 204
| Field | Type | Description |
|---|---|---|
id required | string | path |
linkId required | string | path |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
purged required | object | |
purged.attachments required | number | |
purged.comments required | number | |
purged.fields required | number | |
purged.notes required | number | |
purged.orphans | number | |
purged.projects required | number | |
purged.reminders required | number | |
purged.sections required | number | |
purged.tasks required | number | |
purged.timeEntries required | number |
POST /api/v1/projects/{id}/transfer
Project transfer · Token or session
{userId} → membership; the previous owner becomes an admin
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
userId required | string |
| Field | Type | Description |
|---|---|---|
grants | array of object | |
grants[].groupId required | string | |
grants[].name required | string | |
grants[].role required | string | |
members required | array of object | |
members[].avatarVersion | number | |
members[].email required | string | |
members[].name required | string | |
members[].role required | string | |
members[].userId required | string | |
members[].via required | array of object | |
members[].via[].id required | string | |
members[].via[].name | string | |
ownerId required | string | |
pending | array of object | The open invitations, shown to the owner and admins. |
pending[].createdAt | number | |
pending[].email | string | |
pending[].expiresAt | number | |
pending[].id | string | |
pending[].invitedBy | string | |
pending[].role | string | |
projectId required | string | |
role required | string |
GET /api/v1/public/{token}
Get a public · No authentication
a public list {projectName, projectColor, rights, sections, tasks, serverTime}
No authentication.
| Field | Type | Description |
|---|---|---|
token required | string | path |
| Field | Type | Description |
|---|---|---|
layout required | string | |
projectColor required | string | |
projectName required | string | |
rights required | string | |
sections required | array of object | |
serverTime required | number | |
tasks required | array of object |
POST /api/v1/public/{token}/tick
Public tick · No authentication
{taskId, completed} → {taskId, completed_at}
No authentication.
| Field | Type | Description |
|---|---|---|
token required | string | path |
| Field | Type | Description |
|---|---|---|
completed | boolean | null | |
taskId required | string |
| Field | Type | Description |
|---|---|---|
completed_at required | string | |
taskId required | string |
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
| Field | Type | Description |
|---|---|---|
day_parts | boolean | null | |
line | string | null | |
now required | string | |
today required | string | |
url required | string |
| Field | Type | Description |
|---|---|---|
chips required | array of object | |
chips[].end required | number | |
chips[].kind required | string | |
chips[].start required | number | |
chips[].text required | string | |
fields required | object | |
origin required | object | null | |
origin.id | string | |
origin.kind required | string | |
origin.provider | string | |
origin.title | string | |
origin.url | string | |
title required | string | |
unmatched required | array of string |
GET /api/v1/reminders
List reminders · Token or session
same shape for reminders, see Reminders and push
| Field | Type | Description |
|---|---|---|
reminders required | array of Reminder |
GET /api/v1/reminders/{id}
Get a reminder · Token or session
same shape for reminders, see Reminders and push
| Field | Type | Description |
|---|---|---|
id required | string | path |
GET /api/v1/sections
List sections · Token or session
same shape for sections, see Sections
| Field | Type | Description |
|---|---|---|
sections required | array of Section |
GET /api/v1/sections/{id}
Get a section · Token or session
same shape for sections, see Sections
| Field | Type | Description |
|---|---|---|
id required | string | path |
GET /api/v1/settings/project-invites
List settings project invites · Token or session
{membersCanInviteNewPeople} (the owner switch)
| Field | Type | Description |
|---|---|---|
membersCanInviteNewPeople required | boolean |
PUT /api/v1/settings/project-invites
Update settings project invites · Token or session
{membersCanInviteNewPeople: true|false} → the same shape
Only the server's owner.
| Field | Type | Description |
|---|---|---|
membersCanInviteNewPeople required | boolean |
| Field | Type | Description |
|---|---|---|
membersCanInviteNewPeople required | boolean |
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)
| Field | Type | Description |
|---|---|---|
backfillAck | number | |
cursor required | number | |
device required | string | |
features | array of string | |
ops required | array of object | |
ops[].actor | string | |
ops[].device required | string | |
ops[].entity required | string | |
ops[].entityId required | string | |
ops[].field required | string | |
ops[].id required | string | |
ops[].seq | number | |
ops[].ts required | number | |
ops[].value required | any | The field's value: any JSON value of the field's kind (docs/sync.md "Schema (v1)"). |
tzOffset | number | null |
| Field | Type | Description |
|---|---|---|
applied required | number | |
backfillSeq | number | |
cursor required | number | |
duplicates required | number | |
generation required | string | |
hasMore required | boolean | |
memberships required | array of object | |
memberships[].grants | array of object | |
memberships[].grants[].groupId required | string | |
memberships[].grants[].name required | string | |
memberships[].grants[].role required | string | |
memberships[].members | array of object | |
memberships[].members[].avatarVersion | number | |
memberships[].members[].email required | string | |
memberships[].members[].name required | string | |
memberships[].members[].role required | string | |
memberships[].members[].userId required | string | |
memberships[].members[].via required | array of object | |
memberships[].ownerId | string | |
memberships[].projectId | string | |
memberships[].role | string | |
ops required | array of object | |
ops[].actor | string | |
ops[].device required | string | |
ops[].entity required | string | |
ops[].entityId required | string | |
ops[].field required | string | |
ops[].id required | string | |
ops[].seq | number | |
ops[].ts required | number | |
ops[].value required | any | The field's value: any JSON value of the field's kind (docs/sync.md "Schema (v1)"). |
purged required | array of object | |
purged[].entity required | string | |
purged[].entityId required | string | |
rejected required | array of object | |
rejected[].id required | string | |
rejected[].reason required | string | |
rejected[].serverTime | number | |
serverTime required | number | |
trashRetentionDays required | number | |
workspaces required | array of object | |
workspaces[].color | string | |
workspaces[].default | boolean | |
workspaces[].features | object | |
workspaces[].groups | array of object | |
workspaces[].groups[].id required | string | |
workspaces[].groups[].members required | array of string | |
workspaces[].groups[].name required | string | |
workspaces[].icon | string | |
workspaces[].id | string | |
workspaces[].members | array of object | |
workspaces[].members[].name required | string | |
workspaces[].members[].role required | string | |
workspaces[].members[].userId required | string | |
workspaces[].name | string | |
workspaces[].ownerId | string | |
workspaces[].role | string |
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
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.
| Field | Type | Description |
|---|---|---|
pages required | array of object | |
pages[].createdBy required | string | |
pages[].encrypted required | boolean | |
pages[].expiresAt required | number | null | |
pages[].id required | string | |
pages[].includeMap required | boolean | |
pages[].kind required | string | |
pages[].label required | string | null | |
pages[].lastOpenedAt required | number | null | |
pages[].noteId | string | |
pages[].pendingReplies required | number | |
pages[].publishedAt required | number | |
pages[].replies required | number | |
pages[].rights required | string | |
pages[].snapshotAt required | number | null | |
pages[].snapshotVersion required | number | |
pages[].taskId required | string | |
pages[].ticks required | number | |
pages[].wrappedKey | string | 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
| Field | Type | Description |
|---|---|---|
tasks required | array of Task + object | |
tasks[].appends | array of object | Appends not yet merged into the body, oldest first. |
tasks[].appends[].id | string | |
tasks[].appends[].text | string | |
tasks[].body_version | string | |
tasks[].fields | object |
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
| Field | Type | Description |
|---|---|---|
assignee_id | string | null | |
blocked_by | array of string | A list of ids. |
completed_at | number | null | |
completed_by | string | null | |
created_at | number | |
day_part | string | null | The part of the day: morning, afternoon, or null (the evening is the evening flag). |
deadline | string | null (date) | A calendar date, YYYY-MM-DD. |
deleted_at | number | null | |
description | string | |
due | Due | null | |
energy | string | null | The energy a task needs: deep, medium or low; null for none (a write also takes ""). |
estimate_minutes | integer | null | |
evening | boolean | |
flow_mode | string | |
habit | boolean | |
habit_amount | number | |
habit_anchor | string | |
habit_color | string | |
habit_graduated_at | number | null | |
habit_period | string | |
habit_step | number | |
habit_target | number | |
habit_tiny | string | |
habit_unit | string | |
ical_extra | string | null | |
labels | array of string | |
location | Location | string | null | |
note_mentions | array of string | A list of ids. |
notes_doc | string | A mergeable notes document ("ydoc:v1:…"), see docs/sync.md "Mergeable documents". Write description (Markdown) instead unless you merge documents yourself. |
occurrence_date | string | null (date) | A calendar date, YYYY-MM-DD. |
origin | Origin | string | null | |
parent_id | string | null | |
position | number | |
priority | 1 | 2 | 3 | 4 | 1 is the highest, 4 the default. |
project_id | string | null | |
recurrence | string | null | A repeat rule in English, such as "every weekday" (docs/recurrence.md). |
rotation | array of string | A list of ids. |
sample | boolean | |
section_id | string | null | |
sector | string | null | A time sector: a week (2026-W45), a month (2026-11) or a quarter (2026-Q4); null for none (a write also takes ""). |
series_id | string | null | |
skipped | boolean | |
span | boolean | |
split_from | SplitFrom | null | |
start | string | null (date) | The date a task starts, YYYY-MM-DD. |
tiny | boolean | |
title | string | |
workspace_id | string | null |
| Field | Type | Description |
|---|---|---|
appends | array of object | Appends not yet merged into the body, oldest first. |
appends[].id | string | |
appends[].text | string | |
body_version | string | |
fields | object |
GET /api/v1/tasks/{id}
Get a task · Token or session
task or 404
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
appends | array of object | Appends not yet merged into the body, oldest first. |
appends[].id | string | |
appends[].text | string | |
body_version | string | |
fields | object |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
assignee_id | string | null | |
blocked_by | array of string | A list of ids. |
completed_at | number | null | |
completed_by | string | null | |
created_at | number | |
day_part | string | null | The part of the day: morning, afternoon, or null (the evening is the evening flag). |
deadline | string | null (date) | A calendar date, YYYY-MM-DD. |
deleted_at | number | null | |
description | string | |
due | Due | null | |
energy | string | null | The energy a task needs: deep, medium or low; null for none (a write also takes ""). |
estimate_minutes | integer | null | |
evening | boolean | |
flow_mode | string | |
habit | boolean | |
habit_amount | number | |
habit_anchor | string | |
habit_color | string | |
habit_graduated_at | number | null | |
habit_period | string | |
habit_step | number | |
habit_target | number | |
habit_tiny | string | |
habit_unit | string | |
ical_extra | string | null | |
labels | array of string | |
location | Location | string | null | |
note_mentions | array of string | A list of ids. |
notes_doc | string | A mergeable notes document ("ydoc:v1:…"), see docs/sync.md "Mergeable documents". Write description (Markdown) instead unless you merge documents yourself. |
occurrence_date | string | null (date) | A calendar date, YYYY-MM-DD. |
origin | Origin | string | null | |
parent_id | string | null | |
position | number | |
priority | 1 | 2 | 3 | 4 | 1 is the highest, 4 the default. |
project_id | string | null | |
recurrence | string | null | A repeat rule in English, such as "every weekday" (docs/recurrence.md). |
rotation | array of string | A list of ids. |
sample | boolean | |
section_id | string | null | |
sector | string | null | A time sector: a week (2026-W45), a month (2026-11) or a quarter (2026-Q4); null for none (a write also takes ""). |
series_id | string | null | |
skipped | boolean | |
span | boolean | |
split_from | SplitFrom | null | |
start | string | null (date) | The date a task starts, YYYY-MM-DD. |
tiny | boolean | |
title | string | |
workspace_id | string | null |
| Field | Type | Description |
|---|---|---|
appends | array of object | Appends not yet merged into the body, oldest first. |
appends[].id | string | |
appends[].text | string | |
body_version | string | |
fields | object |
DELETE /api/v1/tasks/{id}
Delete a task · Token or session
soft delete (to the Trash) → 204
| Field | Type | Description |
|---|---|---|
id required | string | path |
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)
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
cursor | string | |
events required | array of object | |
events[].actor required | string | |
events[].actorName | string | |
events[].changes required | array of object | |
events[].changes[].field required | string | |
events[].changes[].from required | string | |
events[].changes[].to required | string | |
events[].device | string | |
events[].entity required | string | |
events[].entityId required | string | |
events[].id required | string | |
events[].kind required | string | |
events[].minutes | number | null | |
events[].opIds required | array of string | |
events[].projectId | string | |
events[].projectName | string | |
events[].taskId | string | |
events[].taskTitle | string | |
events[].ts required | number | |
more required | boolean |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
comments required | array 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
| Field | Type | Description |
|---|---|---|
id required | string | path |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
before | number | |
changeSets required | array of object | |
changeSets[].changes required | array of object | |
changeSets[].changes[].field required | string | |
changeSets[].changes[].from required | string | |
changeSets[].changes[].lost | boolean | |
changeSets[].changes[].opId required | string | |
changeSets[].changes[].to required | string | |
changeSets[].device required | string | |
changeSets[].device_label | string | |
changeSets[].ts required | number | |
changeSets[].userId required | string | |
entity required | string | |
id required | string | |
more required | boolean |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
id | string | |
text required | string |
| Field | Type | Description |
|---|---|---|
append_id required | string | |
body_version required | string | |
entity required | string | |
entity_id required | string |
| Field | Type | Description |
|---|---|---|
append_id required | string | |
body_version required | string | |
entity required | string | |
entity_id required | string |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
capped required | boolean | |
occurrences required | array of object | |
occurrences[].date required | string | |
occurrences[].due | string | |
occurrences[].record_id | string | |
occurrences[].series_id | string | |
occurrences[].state required | string | |
occurrences[].time | string | |
occurrences[].tz | string | |
rule required | string | |
series_id required | string |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
date required | string | path |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
date required | string | path |
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)
| Field | Type | Description |
|---|---|---|
id required | string | path |
date required | string | path |
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.
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
createdBy required | string | |
encrypted required | boolean | |
expiresAt required | number | null | |
id required | string | |
includeMap required | boolean | |
label required | string | null | |
lastOpenedAt required | number | null | |
pendingReplies required | number | |
publishedAt required | number | |
replies required | number | |
rights required | string | |
snapshotAt required | number | null | |
taskId required | string | |
ticks required | number |
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.
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
expiresInDays | number | null | |
includeMap | boolean | null | |
label | string | null | |
rights required | string | |
snapshot required | string | |
wrappedKey required | string |
| Field | Type | Description |
|---|---|---|
encrypted required | boolean | |
expiresAt required | number | null | |
id required | string | |
includeMap required | boolean | |
label required | string | null | |
link required | string | |
publishedAt required | number | |
rights required | string | |
taskId required | string |
DELETE /api/v1/tasks/{id}/page
Delete task page · Token or session
revoke → 204
Refuses read and agent tokens.
| Field | Type | Description |
|---|---|---|
id required | string | path |
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.
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
replies required | array of object | |
replies[].ciphertext required | string | |
replies[].createdAt required | number | |
replies[].id required | string |
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.
| Field | Type | Description |
|---|---|---|
id required | string | path |
replyId required | string | path |
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.
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
ciphertext required | string | |
version required | number | |
wrappedKey required | string |
| Field | Type | Description |
|---|---|---|
ok required | boolean |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
purged required | object | |
purged.attachments required | number | |
purged.comments required | number | |
purged.fields required | number | |
purged.notes required | number | |
purged.orphans | number | |
purged.projects required | number | |
purged.reminders required | number | |
purged.sections required | number | |
purged.tasks required | number | |
purged.timeEntries required | number |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
changes required | object | |
from required | string |
GET /api/v1/tasks/{id}/time-entries
List task time entries · Token or session
one task's live time entries, newest first
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
entries | array of object | |
entries[].deviceId required | string | |
entries[].endedAt required | number | null | |
entries[].focus required | object | null | |
entries[].focus.mode required | string | |
entries[].focus.plannedEndAt required | number | null | |
entries[].focus.session required | number | |
entries[].id required | string | |
entries[].minutes required | number | |
entries[].note required | string | |
entries[].projectId required | string | null | |
entries[].projectName | string | |
entries[].startedAt required | number | |
entries[].taskId required | string | |
entries[].taskTitle required | string | |
entries[].userId required | string | |
nextCursor | string | |
serverTime required | number |
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
| Field | Type | Description |
|---|---|---|
entries | array of object | |
entries[].deviceId required | string | |
entries[].endedAt required | number | null | |
entries[].focus required | object | null | |
entries[].focus.mode required | string | |
entries[].focus.plannedEndAt required | number | null | |
entries[].focus.session required | number | |
entries[].id required | string | |
entries[].minutes required | number | |
entries[].note required | string | |
entries[].projectId required | string | null | |
entries[].projectName | string | |
entries[].startedAt required | number | |
entries[].taskId required | string | |
entries[].taskTitle required | string | |
entries[].userId required | string | |
nextCursor | string | |
serverTime required | number |
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
| Field | Type | Description |
|---|---|---|
endedAt | number | null | |
note | string | null | |
startedAt | number | null | |
taskId | string | null |
| Field | Type | Description |
|---|---|---|
deviceId required | string | |
endedAt required | number | null | |
focus required | object | null | |
focus.mode required | string | |
focus.plannedEndAt required | number | null | |
focus.session required | number | |
id required | string | |
minutes required | number | |
note required | string | |
projectId required | string | null | |
projectName | string | |
startedAt required | number | |
taskId required | string | |
taskTitle required | string | |
userId required | string |
| Field | Type | Description |
|---|---|---|
deviceId required | string | |
endedAt required | number | null | |
focus required | object | null | |
focus.mode required | string | |
focus.plannedEndAt required | number | null | |
focus.session required | number | |
id required | string | |
minutes required | number | |
note required | string | |
projectId required | string | null | |
projectName | string | |
startedAt required | number | |
taskId required | string | |
taskTitle required | string | |
userId required | string |
PATCH /api/v1/time-entries/{id}
Update a time entry · Token or session
{startedAt?, endedAt?, note?} → the entry
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
endedAt | number | null | |
note | string | null | |
startedAt | number | null | |
taskId | string | null |
| Field | Type | Description |
|---|---|---|
deviceId required | string | |
endedAt required | number | null | |
focus required | object | null | |
focus.mode required | string | |
focus.plannedEndAt required | number | null | |
focus.session required | number | |
id required | string | |
minutes required | number | |
note required | string | |
projectId required | string | null | |
projectName | string | |
startedAt required | number | |
taskId required | string | |
taskTitle required | string | |
userId required | string |
DELETE /api/v1/time-entries/{id}
Delete a time entry · Token or session
tombstone an entry (author, project admin or owner) → 204
| Field | Type | Description |
|---|---|---|
id required | string | path |
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
| Field | Type | Description |
|---|---|---|
entry required | object | null | |
entry.deviceId required | string | |
entry.endedAt required | number | null | |
entry.focus required | object | null | |
entry.focus.mode required | string | |
entry.focus.plannedEndAt required | number | null | |
entry.focus.session required | number | |
entry.id required | string | |
entry.minutes required | number | |
entry.note required | string | |
entry.projectId required | string | null | |
entry.projectName | string | |
entry.startedAt required | number | |
entry.taskId required | string | |
entry.taskTitle required | string | |
entry.userId required | string | |
serverTime required | number |
POST /api/v1/time-entries/stop
Time entries stop · Token or session
stop your running entry → the entry; 404 when none runs
| Field | Type | Description |
|---|---|---|
deviceId required | string | |
endedAt required | number | null | |
focus required | object | null | |
focus.mode required | string | |
focus.plannedEndAt required | number | null | |
focus.session required | number | |
id required | string | |
minutes required | number | |
note required | string | |
projectId required | string | null | |
projectName | string | |
startedAt required | number | |
taskId required | string | |
taskTitle required | string | |
userId required | string |
POST /api/v1/trash/purge
Trash purge · Token or session
empty the Trash (every deleted task, project and note you may delete) → {purged:{…}}
| Field | Type | Description |
|---|---|---|
purged required | object | |
purged.attachments required | number | |
purged.comments required | number | |
purged.fields required | number | |
purged.notes required | number | |
purged.orphans | number | |
purged.projects required | number | |
purged.reminders required | number | |
purged.sections required | number | |
purged.tasks required | number | |
purged.timeEntries required | number |
GET /api/v1/views
List views · Token or session
same shape for saved views, see View fields
| Field | Type | Description |
|---|---|---|
views required | array of View |
POST /api/v1/views
Create a view · Token or session
same shape for saved views, see View fields
| Field | Type | Description |
|---|---|---|
card_notes | boolean | |
color | string | |
created_at | number | |
deleted_at | number | null | |
group_by | string | |
hidden_props | array of string | |
icon | string | null | |
kind | string | |
layout | string | |
manual_order | array of string | Ids in their display order. |
name | string | |
on_drop | any | A section's on-drop rule (docs/sync.md). |
panels | array of string | |
pinned | boolean | |
position | number | |
query | string | |
row_layout | string | |
show_completed | boolean | |
sort_by | string | |
sort_dir | string | |
subtasks | string | |
workspace_id | string | null |
GET /api/v1/views/{id}
Get a view · Token or session
same shape for saved views, see View fields
| Field | Type | Description |
|---|---|---|
id required | string | path |
PATCH /api/v1/views/{id}
Update a view · Token or session
same shape for saved views, see View fields
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
card_notes | boolean | |
color | string | |
created_at | number | |
deleted_at | number | null | |
group_by | string | |
hidden_props | array of string | |
icon | string | null | |
kind | string | |
layout | string | |
manual_order | array of string | Ids in their display order. |
name | string | |
on_drop | any | A section's on-drop rule (docs/sync.md). |
panels | array of string | |
pinned | boolean | |
position | number | |
query | string | |
row_layout | string | |
show_completed | boolean | |
sort_by | string | |
sort_dir | string | |
subtasks | string | |
workspace_id | string | null |
DELETE /api/v1/views/{id}
Delete a view · Token or session
same shape for saved views, see View fields
| Field | Type | Description |
|---|---|---|
id required | string | path |
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
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
cursor | string | |
events required | array of object | |
events[].actor required | string | |
events[].actorName | string | |
events[].changes required | array of object | |
events[].changes[].field required | string | |
events[].changes[].from required | string | |
events[].changes[].to required | string | |
events[].device | string | |
events[].entity required | string | |
events[].entityId required | string | |
events[].id required | string | |
events[].kind required | string | |
events[].minutes | number | null | |
events[].opIds required | array of string | |
events[].projectId | string | |
events[].projectName | string | |
events[].taskId | string | |
events[].taskTitle | string | |
events[].ts required | number | |
more required | boolean |