Skip to content

List tasks

GET
/tasks
Code sample: Shell / cURL
curl --request GET \
--url 'https://example.com/api/v1/tasks?page=1&perPage=50&priority=NONE&completion=open&sort=createdAt' \
--header 'Authorization: Bearer <token>'

Lists tasks, newest first unless sort says otherwise. Filterable by project, status of that project’s workflow (requires projectId), assignee, priority, order, and archived state (archived tasks are excluded by default). q matches the title, any letter case; assigneeIds and labelIds take at most 20 comma-separated ids each (assigneeIds cannot be sent with assigneeId); completion is open, completed or all; dueFrom and dueTo are inclusive YYYY-MM-DD days and dueFrom must not be after dueTo; Filters combine, and each only narrows what the caller already reaches. sort names createdAt, updatedAt, dueDate or priority, with a leading - for descending; dueDate puts tasks without one last, priority follows NONE, LOW, MEDIUM, HIGH, URGENT, and ties break by id. Unknown query parameters return 400. Each task carries its projectId, statusId and boardPosition. includeDescription=false omits description and descriptionHtml. Requires the tasks.view permission.

page
integer
default: 1 >= 1 <= 9007199254740991
perPage
integer
default: 50 >= 1 <= 100
projectId
string
>= 1 characters
statusId

Status of projectId’s workflow; requires projectId.

string
>= 1 characters

Status of projectId’s workflow; requires projectId.

assigneeId
string
priority
string
Allowed values: NONE LOW MEDIUM HIGH URGENT
priorityOptionId
string
>= 1 characters
isArchived
string
includeDescription

False omits description and descriptionHtml.

string

False omits description and descriptionHtml.

orderId

Only tasks on a project linked to this order.

string

Only tasks on a project linked to this order.

q

Only tasks whose title contains this text, in any letter case.

string
>= 1 characters <= 200 characters

Only tasks whose title contains this text, in any letter case.

assigneeIds

Comma-separated member ids, at most 20: only tasks assigned to one of them. Cannot be combined with assigneeId.

string

Comma-separated member ids, at most 20: only tasks assigned to one of them. Cannot be combined with assigneeId.

labelIds

Comma-separated label ids, at most 20: only tasks carrying at least one of them.

string

Comma-separated label ids, at most 20: only tasks carrying at least one of them.

completion

Open keeps tasks not completed, completed keeps the completed ones, all keeps both.

string
Allowed values: open completed all

Open keeps tasks not completed, completed keeps the completed ones, all keeps both.

dueFrom

First due day to keep, YYYY-MM-DD, included. Tasks without a due date are dropped.

string

First due day to keep, YYYY-MM-DD, included. Tasks without a due date are dropped.

dueTo

Last due day to keep, YYYY-MM-DD, included. Tasks without a due date are dropped.

string

Last due day to keep, YYYY-MM-DD, included. Tasks without a due date are dropped.

sort

Field to order by, with a leading - for descending; the default is -createdAt. dueDate lists tasks without a due date last. priority follows NONE, LOW, MEDIUM, HIGH, URGENT.

string
Allowed values: createdAt -createdAt updatedAt -updatedAt dueDate -dueDate priority -priority

Field to order by, with a leading - for descending; the default is -createdAt. dueDate lists tasks without a due date last. priority follows NONE, LOW, MEDIUM, HIGH, URGENT.

Paginated list of tasks.

Media typeapplication/json
object
data
required
Array<object>

A task with its project, status and board position. Description fields are absent in compact mode. The project, status, waiting-on-client, linked-ticket, links and web URL fields are present on GET /tasks and absent on the project board.

object
boardPosition
required

Fractional key ordering the card inside its status column; compare lexicographically, null sorts last.

string | null
completedAt
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
createdAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
creatorId
required
string
description

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.

string | null
descriptionHtml

The stored sanitized HTML behind description.

string | null
dueAt
required

Explicit due instant in UTC, or null for a date-only due date.

Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
dueDate
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
id
required
string
isArchived
required
boolean
isProposed

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.

boolean
linkedTicket

The ticket the task was promoted from, or null. Absent only when the task was deleted while the response was being built.

Any of:
object
id
required
string
number
required
integer
>= -9007199254740991 <= 9007199254740991
subject
required
string
links

Values of the task’s URL custom fields, keyed by field name; empty when it has none. Absent only when the task was deleted while the response was being built.

object
key
additional properties
string
number
required

Workspace-scoped sequential task number.

integer
>= -9007199254740991 <= 9007199254740991
onBoard

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.

boolean
parentId
required
string | null
priority
required
string
Allowed values: NONE LOW MEDIUM HIGH URGENT
priorityOptionId
required
string | null
project

The task’s project. Absent only when the task was deleted while the response was being built.

Any of:
object
id
required
string
name
required
string
prefix
required
string | null
projectId
required

The task’s one project; a subtask carries its root’s.

string
recurrence
required

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.

Any of:
object
endDate

Last calendar day of the series, YYYY-MM-DD.

string format: date
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$/
frequency
required
string
Allowed values: DAILY WEEKLY MONTHLY YEARLY PERIODIC
interval
required
integer
default: 1 >= 1 <= 366
monthDay

Day a MONTHLY rule repeats on. Defaults to the due date’s day, clamped per month.

integer
>= 1 <= 31
spawnedTaskId
string
>= 1 characters
weekdays

Days a WEEKLY rule repeats on, 0 = Sunday. Defaults to the due date’s weekday.

Array<integer>
>= 1 items <= 7 items
startAt
required

Explicit start instant in UTC, or null for a date-only start date.

Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
startDate
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
status

The task’s status with its category. Absent only when the task was deleted while the response was being built.

Any of:
object
category
required
string
Allowed values: BACKLOG UNSTARTED STARTED COMPLETED
id
required
string
name
required
string
statusId
required

The task’s status in its project’s workflow, which is its board column.

string
subtaskPosition
required

Sibling ordering key; ascending, then createdAt and id. Ignored for root tasks.

integer
<= 9007199254740991
subtasksOnBoard

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.

boolean
timeEstimate
required

Time estimate in seconds (5400 = 1h 30m), or null when the task has none.

number | null
title
required
string
updatedAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
webUrl

Link to the task in the web app. Absent only when the task was deleted while the response was being built.

string
meta
required

Pagination metadata for list responses.

object
page
required
integer
>= -9007199254740991 <= 9007199254740991
perPage
required
integer
>= -9007199254740991 <= 9007199254740991
total
required
integer
>= -9007199254740991 <= 9007199254740991
totalPages
required
integer
>= -9007199254740991 <= 9007199254740991

Example

{
"data": [
{
"priority": "NONE",
"recurrence": {
"frequency": "DAILY",
"interval": 1
},
"status": {
"category": "BACKLOG"
}
}
]
}

Validation error. Parse failures include field paths and expectations.

Media typeapplication/json

Validation error with safe field paths and expected values; submitted values are never returned.

object
error
required
object
code
required

Stable machine-readable error code.

string
issues
Array<object>
object
expected
required
string
message
required
string
path
required
Array<string | number>
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Unauthorized.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Forbidden.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Not found.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Rate limit exceeded. Wait for Retry-After before retrying.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}
RateLimit-Limit
string
/^\d+$/

Maximum requests in the current quota window.

RateLimit-Policy
string

Quota policy in requests and window seconds, for example 60;w=60.

RateLimit-Remaining
string
/^\d+$/

Requests left in this quota window (zero when blocked).

RateLimit-Reset
string
/^\d+$/

Seconds until the current quota window resets, when available from the rate-limit store.

Retry-After
string
/^\d+$/

Seconds until another request may be attempted.