Skip to content

Read a project board's tasks

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

Reads the cards of an authorized project board in pages (its root tasks and the subtasks put on the board), ordered by boardPosition (nulls last) with the task ID as a stable tie break. statusId must be a status of the project’s workflow; unknown query parameters return 400. Active tasks are returned by default. includeDescription=false omits task description fields. Requires tasks.view and access to the project and tasks.

id
required

Resource identifier (CUID2).

string
>= 1 characters

Resource identifier (CUID2).

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

Only the column of this status of the project’s workflow.

string
>= 1 characters

Only the column of this status of the project’s workflow.

isArchived
string
includeDescription

False omits descriptions from the tasks.

string

False omits descriptions from the tasks.

completion

Open keeps the tasks not completed, done the completed ones.

string
Allowed values: open done
mine

True keeps only the tasks assigned to the caller.

string

True keeps only the tasks assigned to the caller.

dueFrom

Keeps the tasks due on or after this day.

string

Keeps the tasks due on or after this day.

dueTo

Keeps the tasks due on or before this day.

string

Keeps the tasks due on or before this day.

Paginated project board 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.