Skip to main content

List all subtasks

Returns a list of subtasks for a parent task. The subtasks are returned sorted by creation date, with the most recently created subtasks appearing first.

Parameters

expand
array
Array of relationships to expand. Supported values: members, parent, subtask_list.

Returns

Returns a paginated response that contains an array of up to the specified limit of subtasks.

get
/api/tasks/{id}/subtasks
curl https://{workspace}.kitchen.co/api/tasks/{id}/subtasks \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'Authorization: Bearer {API_KEY}'
Response
{
"data": [
{
"completed_at": null,
"created_at": "2026-03-21T07:52:35+00:00",
"due_at": "2026-03-25",
"id": "tsk_9bbcb52099a37312fbff58c8",
"members": [],
"parent": "tsk_9f82b648c61222c4086850c2",
"subtask_list": "tskl_9bbcb52099a37312fbff58c8",
"title": "The subtask title"
}
],
"links": {
"first": "/api/tasks/tsk_9f82b648c61222c4086850c2/subtasks?page=1",
"last": "/api/tasks/tsk_9f82b648c61222c4086850c2/subtasks?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/api/tasks/tsk_9f82b648c61222c4086850c2/subtasks?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/api/tasks/tsk_9f82b648c61222c4086850c2/subtasks",
"per_page": 20,
"to": 1,
"total": 1
}
}