Tasks
Create, update, move, and delete tasks, and work with their comments, checklists, subtasks, links, and tags.
Core tasks
Signed-in sessions can read saved task views. The response contains the caller's views and filters; it does not include task-view preferences or provide saved-view writes.
Listing tasks
The list uses a cursor. Follow nextCursor until hasMore is false. A page can hold fewer tasks than limit, even none, when the key's project access hides some rows, so a short page is not the end. A cursor can stop matching if the server changes how it reads the list between pages. The request then returns 400 invalid_cursor; start again from the first page. See pagination.
Filtering and sorting
Filters combine, so status=todo,in_progress with creatorId=me returns your open tasks. Dates are exclusive and tasks without the date are left out. Subtasks stay out of the list unless includeSubtasks=true or parentTaskId is set. viewId applies one of your saved views; filters you send in the same request take precedence.
Sorting by priority, status, due_date, title, task_number, or board, and filtering by tagIds, q, or ids, read a window of up to 500 tasks and page through it. When more than 500 tasks match, the response carries truncated: true and the order and pages cover only that window. Narrow the filters to read the rest.
include embeds up to 20 checklist items or subtasks per task, so a list that uses it holds at most 25 tasks. Use checklistTruncated and subtasksTruncated to see whether a task has more rows than were embedded. ids returns the tasks in the order you list them and adds a missing array with the references that matched no task you can read.
Task activity
The activity endpoint returns the same history as the task's activity feed. For a change, fromValue and toValue hold the old and new text. Assignee changes use fromAssigneeIds and toAssigneeIds, moves between projects use fromProjectId and toProjectId, and comments carry commentId. Fields that do not apply are null. createdVia says where the change came from, such as web or api.
The types filter accepts: status_change, priority_change, assignee_change, title_change, description_change, due_date_change, start_date_change, estimate_change, comment, created, subtask_added, subtask_removed, subtask_completed, checklist_item_added, checklist_item_checked, checklist_item_unchecked, checklist_item_updated, checklist_item_removed, project_change, time_entry_logged, time_entry_edited, time_entry_deleted, time_entry_duplicated, time_estimate_changed, timer_started, timer_stopped, timer_auto_stopped, timer_idle_paused, external_reference_added, external_issue_deleted, attachment_added, attachment_removed, tags_changed, link_added, link_removed, deleted, restored.
Polling for changes
To check for new or changed work, send assigneeId=me and set updatedSince to the largest updatedAt you have seen minus 5 seconds, and skip tasks whose id and updatedAt you already have. Writes can land slightly out of timestamp order, and two edits in the same millisecond move updatedAt forward by one, so a checkpoint with no overlap can miss a change. Tasks come back oldest update first, so the last task on the final page sets your next checkpoint. An empty result keeps the checkpoint where it was.
assigneeId matches a task when the user is any of its assignees, not only the first one. Both filters follow the same project access as the plain list, and subtasks are still left out.
A task that is unassigned from the user, trashed, turned into a subtask, or moved to a project the caller cannot open simply stops appearing. To learn about it, add includeRemoved=true. The response then has a removed array of { id, updatedAt, deletedAt }, where updatedAt is when the user left the task and deletedAt is when it was trashed, or null. Removals share the cursor with the tasks, so take the largest updatedAt across both arrays as the next checkpoint. A task that is assigned to the user again comes back in tasks. When you list another user's tasks, removed also names a task you lost: it moved out of a project you could open, or you left that project or it turned private. A task that did not change then carries the time you lost access as updatedAt, and comes after the tasks on the last pages, which can be short or empty while hasMore is true. A task can appear in removed more than once, so treat each entry as idempotent. If you get access to the project back, its unchanged tasks are not sent again, so list them without updatedSince once the project returns in the projects list. The status and priority filters do not apply to tasks the user left, but a task still assigned to the user that changed and no longer matches them is listed in removed too. Removals are kept for 30 days, so start again from a full list after a longer gap.
Adding a comment does not change a task's updatedAt. To read new comments on a task, pass since to the comments endpoint, or poll notifications with since.
Task IDs and identifiers
A task has an id such as tsk_abc123, an identifier such as PRO-42, and a taskNumber. Get, delete, restore, move, and bulk actions, the links and references endpoints, and the attachments list accept any of the three. The other endpoints expect the task id.
Task fields
Task responses use the fields shown in the list example. startDate, dueDate, completedAt, and estimatePoints are left out when they have no value. assignees lists everyone assigned and assignee is the first of them. tags holds up to 100 tags and tagsTruncated is true when the task has more. webUrl is a link that opens the task in Project Feed. commentCount is null until the task's count has been built. trackedSeconds is the logged time in total, and activeTimerUserId is the user whose timer is running, or null. createdVia says where the task was created, such as web or api. externalSource and externalId identify a task that came from a connected tool and are null otherwise. deletedAt is null except when you list deleted tasks. Get task also returns linkAttachments, the web links on the task. User objects can carry extra avatar fields that are not part of the contract. Rely on id, name, email, and image.
Status values
backlog- Not yet planned.
todo- Planned and ready to be worked on. The default for new tasks.
in_progress- Being worked on.
perpetual- Ongoing work that is not expected to be completed.
in_review- Work is complete and waiting for review.
done- Completed.
cancelled- Will not be completed.
Priority values
none- No priority set. The default for new tasks.
low- Low priority.
medium- Medium priority.
high- High priority.
urgent- Needs immediate attention.
Assignees
A task can have up to 20 assignees. Send assigneeIds to set the whole list. Send assigneeId alone to replace the list with one person, or null on update to remove everyone. If you send both, assigneeIds is the list and assigneeId becomes its first entry, added if it is missing. Each assignee must be a workspace member who can open the task's project.
Dates and estimates
startDate and dueDate are Unix timestamps in milliseconds and can be set independently. estimatePoints holds story points from 0 to 10,000. estimateMinutes holds a time estimate in whole minutes, from 0 to 100,000, and returns 403 when time tracking is turned off for the workspace. On update, send null to clear any of these four fields.
Moving tasks
POST /api/v1/tasks/:id/move uses the same ordering as dragging a card on the board. A column is the set of top-level tasks with the same status. A subtask's position is among all of its parent's subtasks, in the order the task lists them, whatever their status, so its anchor must be another subtask of the same parent. Send at most one of beforeTaskId, afterTaskId, or index; with none, the task goes to the end of its column or its parent's subtasks. Changing the status fires the same events as the app, including completing open subtasks when a task moves to done. A subtask cannot move to another project on its own. Move its parent instead.
Bulk actions
POST /api/v1/tasks/bulk matches the board's multi-select actions. The status and assign actions run as one change: if any task is missing or you cannot change it, nothing changes and the request fails. The priority, move_project, delete, restore, due_date, tag_add, and tag_remove actions update each task on its own and list the tasks that failed with a status and reason. Each task gets the same checks, activity, and webhooks as a single update. A task you cannot open is reported as not found, the same as a task that does not exist.
restore also finds deleted tasks. With due_date, send dueDate as Unix milliseconds, or null to clear it. tag_add takes tagIds, tagNames, or both, and tag_remove takes tagIds.
Creating tasks in a batch
POST /api/v1/tasks/batch creates up to 50 tasks. The response lists one entry per task in the order you sent them: status: 201 with the created task, or an error status, code, and detail, plus the field at fault when there is one. created and failed count the two. Tasks that were created stay created when a later entry fails. Send an idempotency key so a retry after a dropped connection does not create them twice.
Deleting and restoring
Restoring brings back the task, its subtasks, checklist, and comments. Tags removed by the delete are not restored. A subtask can only be restored after its parent. After the trash retention period ends, restore returns an error.
Formatted text
Posts, comments, annotations, and Docs accept plain strings or Plate JSON block arrays in content. For Markdown, set contentFormat to markdown. Task descriptions use description and descriptionFormat. These options apply to both create and edit requests.
{
"content": "## Review\n\n- **Ready**\n- [Details](https://example.com)",
"contentFormat": "markdown"
}Markdown supports headings, nested lists, checklists, links, tables, code blocks, and inline formatting. Footnotes become numbered superscript markers with the notes listed at the end. Structured JSON uses the editor's blocks. Each block has a type and children. Text leaves use text with optional marks such as bold or italic.
{
"content": [
{"type": "h2", "children": [{"text": "Review"}]},
{"type": "p", "indent": 1, "listStyleType": "disc", "children": [{"text": "Ready", "bold": true}]}
]
}Explicit formats are plaintext, markdown, and platejs. Omit the format to keep existing string behavior or infer structured JSON. Responses retain the stored formatting. Task comments return their Plate content as a JSON string.
The server derives contentText and descriptionText from the content. Character limits count visible text; request-size limits also apply. Names, titles, and other plain-text fields remain strings.
Links, references, and attachments
Linking connects a task to a post. The references endpoint lists the docs, posts, and tasks that mention a task, and the commits, pull requests, issues, and files linked from connected tools. Mentions inside the task's own description are part of its description.
To open an issue in GitHub or Jira from a task, read the external-issue options first, then post the provider you want. Creation runs in the background, so the response is status: "queued" and the issue shows up in the task's references when it exists.
To attach a file, upload it with the Media API and send the task ID. A task holds up to 10 attachments. Listing attachments needs media:read as well as tasks:read. See the Media API for upload steps, file types, and size limits.
Permissions
Native session tokens can read one task, move or delete it, add or remove its tags, read or change its reactions, and edit or delete a single task comment. Send X-Project-Feed-Workspace with each request. The same resource and role checks apply; viewers cannot write. A comment must belong to the task named in the URL. Only its author can edit it; its author or a workspace owner or admin can delete it.
GET one task returns an ETag. Send it unchanged as If-Match when deleting the task; a 412 requires a fresh read and conflict resolution. After a timeout, re-read before retrying. A 404 means the task is unavailable, not proof that the timed-out request deleted it. Do not replace the original ETag just to retry a delete.
Move and tag writes have no If-Match check or idempotency-key replay cache. Reconcile an ambiguous move before retrying. Tag assignment is deduplicated; removing an absent tag returns 400. Confirm absence by reading the task with tagsTruncated false. Move changes project, status or order, not the parent task. Comment edit and delete accept If-Match; edits also accept expectedUpdatedAt. A changed comment returns 412 precondition_failed. Preserve the original condition and reconcile an uncertain result through the comment history before retrying. Comment writes have no keyed replay receipt, and a repeated delete can return 404.
For task reactions, send action add or remove for repeatable desired state. Omitting action toggles and is unsafe to replay after a timeout. Reading task reactions is safe to repeat. These writes have no If-Match check or idempotency-key replay cache.
Reading tasks needs the tasks:read scope. Creating, updating, and deleting tasks and their sub-resources needs tasks:write. The key's user also needs the same rights as in the app. Members can change the status and priority of any task they can see and move it on the board. Only the task's creator or a workspace owner or admin can edit other fields, delete, or restore it. Viewers can only read. Private projects stay hidden from people who are not in them.
Next steps
- Tags: create and manage the tags you apply to tasks.
- Time tracking: log time against a task and start timers.
Comments, checklists, and subtasks
Path parameters
idstringrequiredTask ID, project identifier such as PRO-53, or workspace task number (URL path). Project identifiers are case-insensitive.
Query parameters
limitnumberComments per page (max 100, default 50)
offsetnumberComments to skip, from 0 to 10,000 (default 0). Cursor takes precedence. Offset pages do not return a cursor.
sincestringOnly comments created after this time, oldest first. Epoch milliseconds, or an ISO 8601 time with a timezone. Other values return 400. Cannot be combined with an offset above 0. total still counts every comment on the task.
cursorstringThe previous page's nextCursor. Omit for the first page.
orderstringasc or desc. Defaults to desc, or asc when since is set.
Request
Response
Path parameters
idstringrequiredTask ID (URL path)
Body parameters
contentstring|arrayrequiredPlain text, Markdown, or Plate JSON blocks. Maximum 10,000 visible characters.
contentFormatstringplaintext, markdown, or platejs
parentIdstringID of a comment on this task to reply to
audiencestringworkspace (default) keeps the comment internal, even under a client comment. client shares it with the request submitter. Requires a task from a client request; a client reply must have a client parent.
uploadsobject[]Up to 10 files as { uploadToken, parts } from an upload prepared with destination newTaskComment for this task and not completed. Each token works once, so send an idempotencyKey to make a retry return the comment. Requires media:write.
idempotencyKeystringUp to 128 characters. Retrying with the same key, content, audience, and uploads returns the first comment instead of adding another. Reusing the key with different content, audience, or uploads returns 409 with the code idempotency_key_reused.
Request
Response
Path parameters
idstringrequiredTask ID (URL path)
commentIdstringrequiredComment ID (URL path)
Headers
If-MatchstringSource ETag or W/"<updatedAt>". A changed source returns 412 precondition_failed.
Body parameters
expectedUpdatedAtnumberSource updatedAt in Unix milliseconds. A changed source returns 412 precondition_failed. Must match If-Match when both are sent.
contentstring|arrayrequiredNew comment text (max 10,000 chars)
contentFormatstringplaintext, markdown, or platejs
Request
Response
Path parameters
idstringrequiredTask ID (URL path)
commentIdstringrequiredComment ID (URL path)
Headers
If-MatchstringSource ETag or W/"<updatedAt>". A changed source returns 412 precondition_failed.
Request
Response
Path parameters
idstringrequiredTask ID (URL path)
Request
Response
Path parameters
idstringrequiredParent task ID, identifier, or number (URL path)
Query parameters
limitnumberItems per response, 1 to 200. Leave it out to get the whole list in one response, up to 1,000 items.
cursorstringnextCursor from the previous response. Treat it as an opaque string and pass it back unchanged.
fieldsstringComma-separated task fields to return. id is always included. See Choosing fields in Conventions.
viewstringcompact leaves out description and descriptionText. Default full.
Request
Response
Path parameters
idstringrequiredParent task ID (URL path)
Body parameters
titlestringrequiredSubtask title
statusstringTask status (default: todo)
prioritystringTask priority (default: none)
assigneeIdstringUser ID to assign the subtask to
assigneeIdsstring[]Up to 20 user IDs to assign
Request
Response
Path parameters
idstringrequiredTask ID, identifier, or number (URL path)
Query parameters
limitnumberItems per response, 1 to 200. Leave it out to get the whole list in one response, up to 1,000 items.
cursorstringnextCursor from the previous response. Treat it as an opaque string and pass it back unchanged.
fieldsstringComma-separated item fields to return: id, taskId, text, checked, sortOrder, orderKey, createdVia, author, createdAt, updatedAt. id is always included.
Request
Response
Path parameters
idstringrequiredTask ID (URL path)
Body parameters
textstringrequiredChecklist item text, 1 to 500 chars after trimming
checkedbooleanCreate the item already checked (default: false)
Request
Response
Path parameters
idstringrequiredTask ID (URL path)
itemIdstringrequiredChecklist item ID (URL path)
Body parameters
textstringNew item text, 1 to 500 chars after trimming
checkedbooleanSet the checked state
Request
Response
Path parameters
idstringrequiredTask ID (URL path)
itemIdstringrequiredChecklist item ID (URL path)
Body parameters
beforeItemIdstringPlace the item directly before this item
afterItemIdstringPlace the item directly after this item
indexnumber0-based position in the checklist. A value past the end moves the item to the end.
Request
Response
Path parameters
idstringrequiredTask ID (URL path)
itemIdstringrequiredChecklist item ID (URL path)
Request
Response
Comment content
Comments accept the formats described in Formatted text. Responses return
contentas a string: the plain text you sent, or a JSON string of blocks when the comment was written as Markdown or blocks. Comments are paged withlimitandcursor. Pass the returnednextCursorfor the next page; a null value means there are no more cursor pages. Legacyoffsetrequests remain supported. Each comment also returnsreactionCountand itsattachments, up to 10 files.Subtasks
A subtask is a task with a
parentTaskId. Get, update, delete, and move it with the core task endpoints. The parent'ssubtaskTotalandsubtaskDonecount them. A task has at most 50 subtasks, and the list tasks endpoint does not include them.