Get a task list by id
Returns a single task list. The API key’s owner must be a member of the list. Unlike List task lists, this endpoint also returns archived lists the owner belongs to.
Request
Section titled “Request”Path parameters
Section titled “Path parameters”| Name | Type | Required | Description |
|---|---|---|---|
listId | string | yes | Numeric ID of the list. |
No request body.
Response
Section titled “Response”200 OK:
| Field | Type | Description |
|---|---|---|
id | number | Numeric ID of the list. |
name | string | Display name of the list. |
color | string | Color tag of the list. |
isArchived | boolean | true if archived. |
createdAt | string | ISO 8601 timestamp the list was created. |
updatedAt | string | ISO 8601 timestamp of the last update. |
Example response
Section titled “Example response”Errors
Section titled “Errors”| Status | Body | When |
|---|---|---|
400 | { "error": "listId must be a number." } | listId path parameter is not numeric. |
403 | { "error": "You do not have access to this list." } | The API key’s owner is not a member of the list. |
404 | { "error": "List <id> not found." } | No list with that ID exists in the bound team. |