List list tasks
/v1/lists/{list_id}/tasksReturns a collection of tasks for the given list.
Results can be filtered by assignee (all/assigned/unassigned) and updated[start]/updated[stop] time range.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
page_start_id | query | integer (int32) | The page start ID. |
page_limit | query | integer (int32) | The default page size |
removed | query | boolean | |
list_idrequired | path | integer (int32) | A list ID |
Responses
200A list of tasks
- tasksarrayarray<object>itemsobject
task model
- idinteger
- subjectstring
- descriptionstring
- author_idinteger
- assignee_idsarrayarray<integer>itemsinteger(int32)
- estimate_hoursnumber
- follower_idsarrayarray<integer>itemsinteger(int32)
- mention_idsarrayarray<integer>itemsinteger(int32)
- label_idsarrayarray<integer>itemsinteger(int32)
- positioninteger
- list_idinteger
- doneboolean
- statusstring
- listobjectobject
list model
- idinteger
- namestring
- project_idinteger
- positioninteger
- task_countinteger
- typestring
- created_atstring
- updated_atstring
- start_onstring
- due_onstring
- due_atstring
- done_atstring
- created_atstring
- updated_atstring
{
"tasks": [
{
"id": 0,
"subject": "string",
"description": "string",
"author_id": 0,
"assignee_ids": [
0
],
"estimate_hours": 0,
"follower_ids": [
0
],
"mention_ids": [
0
],
"label_ids": [
0
],
"position": 0,
"list_id": 0,
"done": false,
"status": "string",
"list": {
"id": 0,
"name": "string",
"project_id": 0,
"position": 0,
"task_count": 0,
"type": "string",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
},
"start_on": "2024-01-15",
"due_on": "2024-01-15",
"due_at": "2024-01-15T10:30:00Z",
"done_at": "2024-01-15T10:30:00Z",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}
]
}400Invalid parameters
HubstaffTasks_Public_V1_Entities_Error model
- codestring
Error code
- errorstring
Descriptive error message
{
"code": "string",
"error": "string"
}401Unauthorized
HubstaffTasks_Public_V1_Entities_Error model
- codestring
Error code
- errorstring
Descriptive error message
{
"code": "string",
"error": "string"
}403API access is only for organizations on an active plan
HubstaffTasks_Public_V1_Entities_Error model
- codestring
Error code
- errorstring
Descriptive error message
{
"code": "string",
"error": "string"
}404Could not find record
HubstaffTasks_Public_V1_Entities_Error model
- codestring
Error code
- errorstring
Descriptive error message
{
"code": "string",
"error": "string"
}429Rate limit exceeded
HubstaffTasks_Public_V1_Entities_Error model
- codestring
Error code
- errorstring
Descriptive error message
{
"code": "string",
"error": "string"
}