REST API

kanopy 1.2.4. Every endpoint the web app uses. This page is built from openapi.json (OpenAPI 3.1), which every kanopy also serves at /openapi.json.

Overview#

The REST API the kanopy web app uses. Agents should prefer the MCP endpoint (/mcp), which answers in compact text.

Auth. Send an API token in the X-Key header (create one under Settings), or use the kb_session cookie from /api/login. A sent X-Key is the only credential checked. Tokens can use the board only: routes marked cookie-only (account, teams, tokens, users, sharing, settings) refuse them with 403. Read-only (viewer) tokens can only read, and a token limited to some projects sees only those.

Writes with the cookie must be same-origin and send JSON (or multipart for uploads); token requests skip that check.

Errors come back as {"error": "..."} with 400, 401, 403, 404, 409 or 415.

Revision. Every /api response carries X-Revision, the board's change counter; a successful write bumps it and also sends X-Revision-Was.

Auth#

GET /api/setup#

Whether the first admin still has to be created.

No sign-in needed.

POST /api/setup#

Create the first admin on an empty board and sign in.

Works only while the board has no users. Sets the session cookie. If KANOPY_KEY is set, it is imported as this admin's API token.

No sign-in needed.

Body application/json

FieldTypeDescription
username requiredstring
password requiredstringAt least 8 characters for new accounts

POST /api/login#

Sign in.

Sets the kb_session cookie (30 days). Five failed sign-ins from one address within 15 minutes lock it out for the rest of that window. When the account has a second factor, no cookie is set yet: the response is {"two_factor": [...], "ticket": "..."} and sign-in finishes at /api/login/2fa within 5 minutes.

No sign-in needed.

Body application/json

FieldTypeDescription
username requiredstring
password requiredstringAt least 8 characters for new accounts

POST /api/login/2fa#

Finish signing in with a second factor.

Send code (authenticator code or a recovery code) or passkey (the browser's assertion as JSON, from /api/login/passkey). Sets the session cookie. Five wrong tries end the ticket; wrong tries also count toward the address's sign-in limit.

No sign-in needed.

Body application/json

FieldTypeDescription
ticket requiredstring
codestring
passkeyobject

POST /api/login/passkey#

Browser options for finishing a sign-in with a passkey.

No sign-in needed.

Body application/json

FieldTypeDescription
ticket requiredstring

POST /api/logout#

Sign out.

Ends the session and clears the cookie.

No sign-in needed.

POST /api/signup#

Create an account from an invite link and sign in.

No sign-in needed.

Body application/json

FieldTypeDescription
token requiredstring
username requiredstring
password requiredstring

GET /api/invites/check/{token}#

Check that an invite link can still be used.

No sign-in needed.

ParameterInTypeDescription
token requiredpathstringInvite token from the link

Invites#

GET /api/invites#

List invites (admin).

Sign-in cookie only: API tokens are refused.

POST /api/invites#

Create a single-use invite link (admin).

The token is only shown in this response.

Sign-in cookie only: API tokens are refused.

DELETE /api/invites/{invite_id}#

Revoke an unused invite (admin).

Sign-in cookie only: API tokens are refused.

ParameterInTypeDescription
invite_id requiredpathintegerInvite id

Account#

GET /api/me#

The signed-in user.

Sign-in cookie only: API tokens are refused.

PATCH /api/me#

Update your password, ntfy settings, timezone or notification toggles.

Only the fields sent change. A new password signs out every other session.

Sign-in cookie only: API tokens are refused.

Body application/json

FieldTypeDescription
passwordstringNew password; needs current_password
current_passwordstring
ntfy_urlstringYour ntfy server; empty means ntfy.sh
ntfy_tokenstringAccess token for your ntfy server; empty keeps the stored one
clear_ntfy_tokenboolean
ntfy_topicstringLetters, digits, dashes and underscores
timezonestringIANA name you picked; empty follows your browser
timezone_autostringIANA name your browser reports
notify_remindboolean
notify_dueboolean
notify_digestboolean
notify_agentboolean
notify_mentionboolean
notify_assignboolean
notify_activityboolean

PUT /api/me/avatar#

Set your picture.

Sign-in cookie only: API tokens are refused.

Body multipart/form-data

FieldTypeDescription
file requiredstringPNG, JPEG, WebP or GIF, at most 512 KB

DELETE /api/me/avatar#

Remove your picture.

Sign-in cookie only: API tokens are refused.

POST /api/me/test#

Send a test push to your ntfy topic.

Sign-in cookie only: API tokens are refused.

Two-factor#

GET /api/me/2fa#

Your second factors.

Sign-in cookie only: API tokens are refused.

POST /api/me/2fa/totp#

Start setting up an authenticator app.

Nothing changes until /api/me/2fa/totp/confirm gets a matching code.

Sign-in cookie only: API tokens are refused.

Body application/json

FieldTypeDescription
password requiredstringYour current password

DELETE /api/me/2fa/totp#

Turn the authenticator app off.

Sign-in cookie only: API tokens are refused.

Body application/json

FieldTypeDescription
password requiredstringYour current password

POST /api/me/2fa/totp/confirm#

Turn the authenticator app on with a code from it.

The first second factor also creates 10 recovery codes, returned once in recovery.

Sign-in cookie only: API tokens are refused.

Body application/json

FieldTypeDescription
code requiredstring

POST /api/me/2fa/recovery#

Replace your recovery codes.

The new codes are only shown in this response; the old ones stop working.

Sign-in cookie only: API tokens are refused.

Body application/json

FieldTypeDescription
password requiredstringYour current password

POST /api/me/2fa/passkeys/options#

Browser options for adding a passkey.

Passkeys need https (or localhost).

Sign-in cookie only: API tokens are refused.

Body application/json

FieldTypeDescription
password requiredstringYour current password

POST /api/me/2fa/passkeys#

Store a passkey the browser just made.

The first second factor also creates 10 recovery codes, returned once in recovery.

Sign-in cookie only: API tokens are refused.

Body application/json

FieldTypeDescription
namestringLabel like laptop
credential requiredobjectThe browser credential as JSON (credential.toJSON())

DELETE /api/me/2fa/passkeys/{passkey_id}#

Remove a passkey.

Sign-in cookie only: API tokens are refused.

ParameterInTypeDescription
passkey_id requiredpathintegerPasskey id

Body application/json

FieldTypeDescription
password requiredstringYour current password

Notifications#

GET /api/notifications#

Your inbox: the newest 100 notifications and the unread count.

POST /api/notifications/read#

Mark notifications read.

Body application/json

FieldTypeDescription
idsinteger[]Leave out to mark every notification read

Projects#

GET /api/projects#

Every project you can see, in tree order.

POST /api/projects#

Create a project by path.

Body application/json

FieldTypeDescription
path requiredstringSlash path like Code/weatherbox; missing parents are created
descriptionstring
folderstringLocal directory the project lives in, absolute or starting with ~

PATCH /api/projects/{project_id}#

Rename or move, describe, archive, color or set the folder of a project (manager).

ParameterInTypeDescription
project_id requiredpathintegerProject id

Body application/json

FieldTypeDescription
pathstringNew slash path; renames and/or moves it
descriptionstring
archivedboolean
colorstring#rrggbb, or empty to clear
folderstringAbsolute or ~ path, or empty to clear

DELETE /api/projects/{project_id}#

Delete an empty project.

ParameterInTypeDescription
project_id requiredpathintegerProject id

POST /api/projects/order#

Set the parent and order of a group of sibling projects.

Body application/json

FieldTypeDescription
parent_idinteger | nullNew parent, or null for top level
ids requiredinteger[]Every child under that parent, top to bottom

GET /api/projects/{project_id}/activity#

Task history across a project and its sub-projects, newest first.

ParameterInTypeDescription
project_id requiredpathintegerProject id
beforequeryintegerOnly events older than this event id, for the next page (100 per page)

GET /api/projects/{project_id}/people#

Usernames that can see a project, most recently active first.

Owner, shared users and members of shared teams, here or on a parent project. Ordered by their latest change or comment in the project or its sub-projects; people with no activity follow alphabetically.

Sign-in cookie only: API tokens are refused.

ParameterInTypeDescription
project_id requiredpathintegerProject id

Sharing#

GET /api/projects/{project_id}/shares#

Who a project is shared with, plus its owner and shares inherited from parents.

Sign-in cookie only: API tokens are refused.

ParameterInTypeDescription
project_id requiredpathintegerProject id

POST /api/projects/{project_id}/shares#

Share a project with a user or a team (manager).

Sharing again changes the role. Sharing includes every sub-project.

Sign-in cookie only: API tokens are refused.

ParameterInTypeDescription
project_id requiredpathintegerProject id

Body application/json

FieldTypeDescription
role"viewer" | "editor" | "manager"
usernamestringUser to share with
teamstringTeam name to share with, instead of username

DELETE /api/shares/{share_id}#

Remove a share (manager).

Sign-in cookie only: API tokens are refused.

ParameterInTypeDescription
share_id requiredpathintegerShare id from the share list

Tasks#

GET /api/tasks#

Task cards for every project or one project and its sub-projects.

ParameterInTypeDescription
projectqueryintegerProject id; its sub-projects are included
done_limitqueryintegerKeep every open task but only this many of the newest done ones
briefquerystringAny value: return only id, project_id, project, title, status, priority and updated

POST /api/tasks#

Create a task (editor).

Body application/json

FieldTypeDescription
title requiredstringRequired on create
descriptionstringMarkdown; checklist steps as "- [ ] "
project_id requiredintegerRequired on create; on update, moves the task (editor on the target needed)
status"todo" | "doing" | "done"Moving to doing claims the task for the caller; done on a repeating task creates its next copy
priorityinteger0 none, 1 low, 2 medium, 3 high, 4 urgent, 5 do now
duestring | nullYYYY-MM-DD; empty or null clears it
remind_atstring | nullYYYY-MM-DDTHH:MM in the user's own timezone; empty or null clears it
repeatstring | nulldaily, weekly, monthly, yearly, "every N days/weeks/months/years", weekdays, or day names like "mon,wed,fri"; empty stops it
labelsstring[]Replaces every label; each must look like namespace:value
assigneesstring[]Usernames; replaces every assignee. Each needs access to the project

GET /api/tasks/{task_id}#

A full task: description, attachments, links, comments and history.

ParameterInTypeDescription
task_id requiredpathintegerTask id

PATCH /api/tasks/{task_id}#

Update task fields (editor).

Only the fields sent change.

ParameterInTypeDescription
task_id requiredpathintegerTask id

Body application/json

FieldTypeDescription
titlestringRequired on create
descriptionstringMarkdown; checklist steps as "- [ ] "
project_idintegerRequired on create; on update, moves the task (editor on the target needed)
status"todo" | "doing" | "done"Moving to doing claims the task for the caller; done on a repeating task creates its next copy
priorityinteger0 none, 1 low, 2 medium, 3 high, 4 urgent, 5 do now
duestring | nullYYYY-MM-DD; empty or null clears it
remind_atstring | nullYYYY-MM-DDTHH:MM in the user's own timezone; empty or null clears it
repeatstring | nulldaily, weekly, monthly, yearly, "every N days/weeks/months/years", weekdays, or day names like "mon,wed,fri"; empty stops it
labelsstring[]Replaces every label; each must look like namespace:value
assigneesstring[]Usernames; replaces every assignee. Each needs access to the project
claimbooleanTake over a task another session claimed
description_wasstringThe description your edit started from; if it changed meanwhile the update is refused with 409

DELETE /api/tasks/{task_id}#

Move a task to the trash (editor).

Trashed tasks can be restored for 30 days.

ParameterInTypeDescription
task_id requiredpathintegerTask id

POST /api/tasks/bulk#

Apply one change to many tasks.

Runs in one transaction: if any task fails, none change.

Body application/json

FieldTypeDescription
ids requiredinteger[]
status"todo" | "doing" | "done"
project_idinteger
add_labelstring
remove_labelstring
deletebooleanMove them all to the trash

POST /api/reorder#

Set the status and order of the tasks in one column.

Cards not listed keep their place; listed cards from another column move into this one.

Body application/json

FieldTypeDescription
status required"todo" | "doing" | "done"
ids requiredinteger[]The visible task ids in that column, top to bottom

GET /api/repeats#

Upcoming dates of repeating tasks, for the calendar.

ParameterInTypeDescription
from requiredquerystringFirst day, YYYY-MM-DD
to requiredquerystringLast day, YYYY-MM-DD; at most 62 days after from

Search task titles, descriptions and comments.

ParameterInTypeDescription
qquerystringWords that must all appear (case-insensitive). Empty lists every task the filters allow
projectqueryintegerProject id; its sub-projects are included
statusquerystringComma-separated statuses, like todo,doing
labelquerystringLabel every result must have
assigneequerystringUsername every result must be assigned to
priorityqueryintegerMinimum priority
duequery"overdue" | "today" | "week" | "any" | "none"Due date filter
fieldsquerystringComma-separated: title, description, comments (default all)
sortquery"updated" | "created" | "priority" | "due" | "id"Sort order

POST /api/tasks/{task_id}/comments#

Comment on a task (editor).

ParameterInTypeDescription
task_id requiredpathintegerTask id

Body application/json

FieldTypeDescription
body requiredstringMarkdown; @username notifies that user

POST /api/tasks/{task_id}/links#

Link a task to another (editor on both).

Both directions are stored: blocking on one task shows as blocked on the other.

ParameterInTypeDescription
task_id requiredpathintegerTask id

Body application/json

FieldTypeDescription
kind requiredLinkKind
other requiredintegerThe other task id

Remove a link between two tasks.

ParameterInTypeDescription
task_id requiredpathintegerTask id
kind requiredqueryLinkKindLink kind
other requiredqueryintegerThe other task id

Attachments#

POST /api/tasks/{task_id}/attachments#

Attach files to a task (editor).

ParameterInTypeDescription
task_id requiredpathintegerTask id

Body multipart/form-data

FieldTypeDescription
file requiredstring[]One or more files, 25 MB each

GET /api/attachments/{attachment_id}#

Download an attachment.

ParameterInTypeDescription
attachment_id requiredpathintegerAttachment id

DELETE /api/attachments/{attachment_id}#

Delete an attachment (editor).

ParameterInTypeDescription
attachment_id requiredpathintegerAttachment id

Trash#

GET /api/trash#

Deleted tasks you can restore.

POST /api/trash/{trash_id}/restore#

Restore a deleted task.

ParameterInTypeDescription
trash_id requiredpathintegerTrash entry id

Labels#

GET /api/labels#

Global labels and your own, with usage counts.

POST /api/labels#

Create a personal label, or a global one (admin).

Body application/json

FieldTypeDescription
name requiredstringnamespace:value, like host:pi
colorstring#rrggbb; without one it takes its namespace's color
globalbooleanAdmin only

PATCH /api/labels#

Rename and/or recolor a label.

Body application/json

FieldTypeDescription
name requiredstringCurrent name
new_namestringNew name; an existing label's name merges the two
colorstring#rrggbb, or empty to clear

DELETE /api/labels#

Delete a label everywhere.

ParameterInTypeDescription
name requiredquerystringLabel name

Teams#

GET /api/teams#

Your teams (admins see all).

Sign-in cookie only: API tokens are refused.

POST /api/teams#

Create a team.

Sign-in cookie only: API tokens are refused.

Body application/json

FieldTypeDescription
name requiredstring

DELETE /api/teams/{team_id}#

Delete a team (team owner or admin).

Sign-in cookie only: API tokens are refused.

ParameterInTypeDescription
team_id requiredpathintegerTeam id

POST /api/teams/{team_id}/members#

Add a member by username (team owner or admin).

Sign-in cookie only: API tokens are refused.

ParameterInTypeDescription
team_id requiredpathintegerTeam id

Body application/json

FieldTypeDescription
username requiredstring

DELETE /api/teams/{team_id}/members/{user_id}#

Remove a member, or leave the team yourself.

Sign-in cookie only: API tokens are refused.

ParameterInTypeDescription
team_id requiredpathintegerTeam id
user_id requiredpathintegerUser id

PATCH /api/teams/{team_id}/members/{user_id}#

Make a member an owner, or back to a member.

Sign-in cookie only: API tokens are refused.

ParameterInTypeDescription
team_id requiredpathintegerTeam id
user_id requiredpathintegerUser id

Body application/json

FieldTypeDescription
owner requiredboolean

PUT /api/teams/{team_id}/webhook#

Set or clear the team's webhook URL.

Sign-in cookie only: API tokens are refused.

ParameterInTypeDescription
team_id requiredpathintegerTeam id

Body application/json

FieldTypeDescription
urlstringhttps URL that resolves to public addresses only; empty clears it. A key= parameter is sent as an Authorization: Bearer header

Tokens#

GET /api/tokens#

Your API tokens (never the secrets).

Sign-in cookie only: API tokens are refused.

POST /api/tokens#

Create an API token.

Sign-in cookie only: API tokens are refused.

Body application/json

FieldTypeDescription
namestringLabel like claude
role"viewer" | "editor" | "manager" | "owner"Highest role the token may use; viewer is read-only. Never more than your own role
projectsinteger[]Limit the token to these projects and everything under them; empty for all

DELETE /api/tokens/{token_id}#

Revoke an API token.

Sign-in cookie only: API tokens are refused.

ParameterInTypeDescription
token_id requiredpathintegerToken id

Users#

GET /api/users#

Every user, for assigning, sharing and mentions.

Sign-in cookie only: API tokens are refused.

GET /api/users/{user_id}/avatar#

A user's picture.

Sign-in cookie only: API tokens are refused.

ParameterInTypeDescription
user_id requiredpathintegerUser id

GET /api/users/{user_id}/footprint#

What deleting a user would remove (admin).

Sign-in cookie only: API tokens are refused.

ParameterInTypeDescription
user_id requiredpathintegerUser id

DELETE /api/users/{user_id}#

Delete a user and their projects (admin).

Sign-in cookie only: API tokens are refused.

ParameterInTypeDescription
user_id requiredpathintegerUser id

Body application/json

FieldTypeDescription
keep_labelsbooleanKeep their personal labels as yours

POST /api/users/{user_id}/password#

Set a user's password (admin).

Sign-in cookie only: API tokens are refused.

ParameterInTypeDescription
user_id requiredpathintegerUser id

Body application/json

FieldTypeDescription
password requiredstring

DELETE /api/users/{user_id}/2fa#

Turn off a locked-out user's second factors (admin).

Sign-in cookie only: API tokens are refused.

ParameterInTypeDescription
user_id requiredpathintegerUser id

Board#

GET /api/settings#

Board settings (admin).

Sign-in cookie only: API tokens are refused.

PUT /api/settings#

Save board settings (admin).

Sign-in cookie only: API tokens are refused.

Body application/json

FieldTypeDescription
timezonestringDefault for people whose browser has not reported one
due_timestringHH:MM for due-today pushes, in each person's timezone
digest_timestringHH:MM for the overdue digest
archive_daysstringArchive tasks done this many days ago; 0 turns it off

GET /api/version#

Running version and the newest GitHub release (admin).

Sign-in cookie only: API tokens are refused.

GET /api/revision#

The board's change counter.

Every successful write bumps it. Open pages poll this and reload when it moves.

GET /api/export#

Download a project and everything under it, or everything you can see, as JSON.

ParameterInTypeDescription
projectqueryintegerProject id; leave out for everything

Agents#

GET /api/context#

Plain-text session briefing for an agent.

What the Claude Code SessionStart hook and the opencode plugin print at the start of a session.

ParameterInTypeDescription
cwdquerystringThe agent's working directory

POST /mcp#

MCP endpoint (streamable HTTP, stateless, JSON responses).

Takes API tokens only. Without one, only the handshake and the tool list answer. Send X-Agent to name the agent in comments and history, and send back the Mcp-Session-Id header you were given so the session can claim tasks as itself. The tools are listed in the README.

API token only.

Body application/json: One JSON-RPC 2.0 request object; batches are not supported

Health#

GET /health#

ok while the database responds.

No sign-in needed.

Schemas#

Ok#

FieldTypeDescription
okboolean

Error#

FieldTypeDescription
errorstring

Credentials#

FieldTypeDescription
usernamestring
passwordstringAt least 8 characters for new accounts

Invite#

FieldTypeDescription
idinteger
createdstring
expiresstring
usedstring | null
used_bystring | null

User#

FieldTypeDescription
idinteger
usernamestring
is_admin0 | 10 or 1
ntfy_topicstring
ntfy_urlstring
notify_remind0 | 10 or 1
notify_due0 | 10 or 1
notify_digest0 | 10 or 1
notify_agent0 | 10 or 1
notify_mention0 | 10 or 1
notify_assign0 | 10 or 1
notify_activity0 | 10 or 1
timezonestring
timezone_autostring
createdstring
avatar_atstring | null

Me#

FieldTypeDescription
idinteger
usernamestring
is_admin0 | 10 or 1
ntfy_topicstring
ntfy_urlstring
notify_remind0 | 10 or 1
notify_due0 | 10 or 1
notify_digest0 | 10 or 1
notify_agent0 | 10 or 1
notify_mention0 | 10 or 1
notify_assign0 | 10 or 1
notify_activity0 | 10 or 1
timezonestring
timezone_autostring
createdstring
avatar_atstring | null
unreadintegerUnread notifications (GET only)
ntfy_token_setboolean

MeUpdate#

FieldTypeDescription
passwordstringNew password; needs current_password
current_passwordstring
ntfy_urlstringYour ntfy server; empty means ntfy.sh
ntfy_tokenstringAccess token for your ntfy server; empty keeps the stored one
clear_ntfy_tokenboolean
ntfy_topicstringLetters, digits, dashes and underscores
timezonestringIANA name you picked; empty follows your browser
timezone_autostringIANA name your browser reports
notify_remindboolean
notify_dueboolean
notify_digestboolean
notify_agentboolean
notify_mentionboolean
notify_assignboolean
notify_activityboolean

UserBrief#

FieldTypeDescription
idinteger
usernamestring
is_admin0 | 10 or 1
createdstring
avatar_atstring | null

Inbox#

FieldTypeDescription
notificationsobject[]
unreadinteger

Project#

FieldTypeDescription
idinteger
parent_idinteger | null
titlestring
pathstringSlash path like Code/weatherbox
descriptionstring
archived0 | 10 or 1
colorstring | null
positionnumber
owner_idinteger | null
folderstring
openintegerTo-Do + Doing tasks directly in it
role0 | 1 | 2 | 3 | 40 a parent shown only for the tree, 1 viewer, 2 editor, 3 manager, 4 owner

ExportProject#

FieldTypeDescription
idinteger
parent_idinteger | null
pathstring
titlestring
descriptionstring
colorstring | null
folderstring
archived0 | 10 or 1
positionnumber

ProjectEvent#

FieldTypeDescription
idinteger
atstring
actorstringUsername, or system
agentstring | nullAgent name when the change came over MCP
fieldstringWhat changed: created, title, status, comment, label, ...
oldstring | null
newstring | null
task_idinteger
titlestringThe task's title

Share#

FieldTypeDescription
idinteger | nullnull for the owner row
kind"owner" | "user" | "team"
namestringUsername or team name
role"owner" | "viewer" | "editor" | "manager"
projectstringPath of the project the share is on
inheritedbooleanThe share is on a parent project

TaskCard#

FieldTypeDescription
idinteger
project_idinteger
projectstringProject path
titlestring
status"todo" | "doing" | "done"
priorityinteger
duestring | nullYYYY-MM-DD
remind_atstring | nullYYYY-MM-DDTHH:MM
repeatstring | null
positionnumber
done_atstring | null
updatedstring
archived0 | 10 or 1
claimed_bystring | nullThe agent session working on it, while in doing
labelsstring[]
checksinteger[][ticked, total] checklist steps in the description
filesintegerAttachment count
assigneesstring[]
commentsintegerComment count

Task#

FieldTypeDescription
idinteger
project_idinteger
projectstringProject path
titlestring
status"todo" | "doing" | "done"
priorityinteger
duestring | nullYYYY-MM-DD
remind_atstring | nullYYYY-MM-DDTHH:MM
repeatstring | null
positionnumber
done_atstring | null
updatedstring
archived0 | 10 or 1
claimed_bystring | nullThe agent session working on it, while in doing
labelsstring[]
checksinteger[][ticked, total] checklist steps in the description
filesintegerAttachment count
assigneesstring[]
roleintegerYour role on its project, 1-4
descriptionstring
createdstring
attachmentsobject[]
linksobject[]
commentsobject[]
historyobject[]

LinkKind#

"blocking" | "blocked" | "subtask" | "parenttask" | "related" | "duplicates" | "duplicateof" | "precedes" | "follows"

SearchResult#

FieldTypeDescription
idinteger
titlestring
projectstring
project_idinteger
statusstring
priorityinteger
duestring | null
labelsstring[]
assigneesstring[]
archived0 | 10 or 1
where"title" | "description" | "comment"Where the words matched
snippetstringThe matching line, when not in the title
createdstring
updatedstring

TrashItem#

FieldTypeDescription
idinteger
task_idinteger
project_idinteger
projectstring
titlestring
deletedstring
deleted_bystring

Label#

FieldTypeDescription
namestring
colorstring | null
globalboolean
countintegerTasks you can see that use it

Team#

FieldTypeDescription
idinteger
namestring
membersobject[]
projectsinteger[]Project ids shared with the team
ownerbooleanYou can manage it
webhookstringOnly shown to team owners
webhook_errorstring
webhook_failedstring | null

Token#

FieldTypeDescription
idinteger
namestring
createdstring
usedstring | null
rolestring
projectsstring[]Paths the token is limited to; empty for all

TwoFactor#

FieldTypeDescription
totpbooleanAuthenticator app on
passkeysobject[]
recovery_leftintegerUnused recovery codes
recoverystring[] | nullNew recovery codes, only in the response that made them

PasskeyOptions#

object