Update tasks in a batch
curl --request PATCH \ --url https://example.com/api/v1/tasks/batch \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "updates": [ { "assigneeId": "example", "completedAt": "2026-04-15T12:00:00Z", "createdAt": "2026-04-15T12:00:00Z", "description": "example", "dueAt": "2026-04-15T12:00:00Z", "dueDate": "example", "id": "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" } ] }'Applies up to 50 updates, each { id, ...fields } with the fields of PATCH /tasks/{id}, one by one through the same services: the same reach checks (a task or parent outside the caller’s scope reports not found), completion and dependency rules, and permissions. An update’s status moves the task through the single status path and its result carries what changed (status, who holds the task, why, and the subtasks carried along). The batch is not atomic: the response is 200 whenever the batch was processed, with succeeded (index, id, statusChange) and failed (index, id, error) per update, where index is its position in updates. Every update needs tasks.manage, as do createdAt (also tasks.import) and overrideDependencies (projects.manage); a status and the other fields of one update are written in one transaction.
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”object
1 to 50 updates, applied in order.
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.
The task to update.
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 outcome of each update.
object
What each update of a batch did. The batch is not atomic.
object
object
object
Position of the update in the request.
What the status change did when the update carried a status, else null.
Example
{ "data": { "succeeded": [ { "statusChange": { "assigneeChange": "none" } } ] }}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" }}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