Get list
/v1/lists/{list_id}Returns the list with the given ID.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
list_idrequired | path | integer (int32) | A list ID |
Responses
200A list
- listobjectobject
list model
- idinteger
- namestring
- project_idinteger
- positioninteger
- task_countinteger
- typestring
- created_atstring
- updated_atstring
{
"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"
}
}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"
}