Update a task
curl --request PATCH \ --url https://example.com/api/v1/tasks/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "assigneeId": "example", "completedAt": "2026-04-15T12:00:00Z", "createdAt": "2026-04-15T12:00:00Z", "description": "example", "dueAt": "2026-04-15T12:00:00Z", "dueDate": "example", "isArchived": true, "onBoard": true, "overrideDependencies": true, "parentId": "example", "priority": "NONE", "priorityOptionId": "example", "recurrence": { "endDate": "2026-04-15", "frequency": "DAILY", "interval": 1, "monthDay": 1, "weekdays": [ 1 ] }, "startAt": "2026-04-15T12:00:00Z", "startDate": "example", "status": "example", "subtaskPosition": 1, "subtasksOnBoard": true, "timeEstimate": 1, "title": "example" }'Updates task fields, completion, board moves and activity atomically. parentId: null promotes a subtask to a root task of its project. A non-null parent must be reachable in the workspace and cannot create a cycle. subtaskPosition changes sibling order without changing creation or completion timestamps; omitting it preserves the current position unless moving to a different parent, which appends. overrideDependencies: true explicitly skips unfinished dependencies and requires projects.manage; every use writes an audit activity. Nullable fields accept null to clear the value. dueAt and startAt accept ISO instants with explicit offsets; null clears only the time. Editing dueDate or startDate without its instant clears the optional time. Supplying an instant derives its workspace calendar day and rejects a conflicting explicit calendar day. timeEstimate is expressed in whole seconds (5400 = 1h 30m). description accepts Markdown and is returned as Markdown plus descriptionHtml. Merged tasks are read-only and respond 409. completedAt completes the task at the given instant or re-opens it with null; completion moves the task to its workflow’s first completed status and re-opening moves it back to the first unstarted one, so the same guards as the board apply: 422 DEPENDENCY_BLOCKED when an unfinished blocking dependency refuses the completion. Requires the tasks.manage permission. createdAt corrects the original creation instant and additionally requires tasks.import; it must be a valid ISO timestamp no later than now. The correction preserves the original creation activity and audit, and records the acting member and old/new dates atomically with the other changes. Repeating the same creation instant does not add another correction audit. A task’s order is not set here: it follows from the task’s project. A root task on a project linked to a Tokens order uses one of its tokens; making it a subtask returns it, archiving keeps it counted. onBoard shows a subtask as its own card on its project’s board (400 on a task without a parent), and subtasksOnBoard shows or hides every direct subtask at once; a subtask created later follows it.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Resource identifier (CUID2).
Resource identifier (CUID2).
Request Body
Section titled “Request Body”object
Completes the task at this instant, a past one included so a migrated task keeps its real close date, or re-opens it with null. Completing moves it to its workflow’s first completed status, re-opening to the first unstarted one; an unfinished blocking dependency refuses it.
Corrects the original creation instant, never into the future; the same instant is a no-op. Requires tasks.manage and tasks.import; the original creation audit is kept and the change is recorded with the actor.
Task description as Markdown, or null to clear it. GitHub-Flavored Markdown, converted to sanitized HTML for storage. Survives the round trip: headings (the web editor edits h1-h2 and demotes deeper levels to paragraphs), bold, italic, strikethrough, underline as , inline code, fenced code blocks with a language, links, bullet, numbered and nested lists, task lists, blockquotes, horizontal rules, hard line breaks, tables with header rows (merged cells and complex tables use sanitized inline HTML), images served from /api/v1/files/, member mentions written as @Name, and a Loom, Cap (cap.so or the organization’s own Cap server), Figma, YouTube, Google Docs or GitHub pull-request link standing alone in its paragraph, which becomes an embed. Inline HTML passes through the same sanitizer as the editor. Lost: external image URLs (dropped by the sanitizer), link titles, text alignment.
Subtasks only: true shows the subtask as its own card on its project’s board, in the column of its own status; false shows it only inside its parent. Everyone who opens the board sees the same cards.
Bypass unfinished dependencies on completion. Requires projects.manage; every use is audited.
New reachable parent task (it may itself be a subtask), or null to promote to root; omitted, the parent stays. The task keeps its id and its subtasks. Re-parenting under a task of another project moves the task and its subtasks there, statuses mapped onto its workflow; promoting to root keeps the project.
New repetition rule, or null to stop repeating. PERIODIC repeats interval days after completion; the other frequencies follow the scheduled calendar date.
object
Last calendar day of the series, YYYY-MM-DD.
Day a MONTHLY rule repeats on. Defaults to the due date’s day, clamped per month.
Days a WEEKLY rule repeats on, 0 = Sunday. Defaults to the due date’s weekday.
Status name within the task’s project workflow, matched without case, or its id. Moves the task through the single status path: completion by category, open subtasks on completion, and the role a status names. Requires tasks.manage; with other fields, both are written in one transaction.
Zero-based sibling position; the task must have a parent. Omitted, the order stays, or the task is appended when its parent changes.
True shows every direct subtask of the task on the board, false hides them all; a subtask created later follows this setting. A subtask’s own onBoard can still be changed afterwards.
Responses
Section titled “Responses”The updated task.
object
A task.
object
Task description as Markdown. Markdown rendering of the stored rich text: mentions appear as @Name links and embeds as plain links to their source URL. The stored HTML is returned alongside in the matching *Html field.
The stored sanitized HTML behind description.
True while the task is a proposal made from a signed contract: only the team sees it, until it is published (POST /tasks/{id}/publish). Absent on a server older than this field.
Workspace-scoped sequential task number.
For a subtask: whether it shows as its own card on its project’s board, in the column of its own status. Always false for a root task, which is always a card. Absent on a server older than this field.
Repetition rule, or null when the task does not repeat. Completing a repeating task creates the next instance on the next occurrence and records its id in spawnedTaskId.
object
Last calendar day of the series, YYYY-MM-DD.
Day a MONTHLY rule repeats on. Defaults to the due date’s day, clamped per month.
Days a WEEKLY rule repeats on, 0 = Sunday. Defaults to the due date’s weekday.
Sibling ordering key; ascending, then createdAt and id. Ignored for root tasks.
Whether the task’s direct subtasks show on the board; a subtask created later starts the same way. Absent on a server older than this field.
Time estimate in seconds (5400 = 1h 30m), or null when the task has none.
Example
{ "data": { "priority": "NONE", "recurrence": { "frequency": "DAILY", "interval": 1 } }}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Not found.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Conflict.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Blocked by an unfinished dependency.
Completion refused by an unfinished blocking dependency.
object
object
Unfinished tasks this task is waiting on.
object
Example
{ "error": { "code": "DEPENDENCY_BLOCKED", "status": 422 }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC