View information about a task. You can only view task information of tasks you can access.
Tasks with attachments will return an "attachments" response.
Docs attached to a task are not returned.
custom_task_ids | boolean If you want to reference a task by its custom task id, this value must be |
team_id | number <double> When the |
include_subtasks | boolean Include subtasks, default false |
include_markdown_description | boolean To return task descriptions in Markdown format, use |
custom_fields | Array of strings Include tasks with specific values in one or more Custom Fields. Custom Relationships are included. |
{- "id": "string",
- "custom_id": "string",
- "custom_item_id": 0,
- "name": "string",
- "text_content": "string",
- "description": "string",
- "status": {
- "status": "in progress",
- "color": "#d3d3d3",
- "orderindex": 1,
- "type": "custom"
}, - "orderindex": "string",
- "date_created": "string",
- "date_updated": "string",
- "date_closed": "string",
- "creator": {
- "id": 183,
- "username": "John Doe",
- "color": "#827718",
}, - "assignees": [
- "string"
], - "watchers": [
- "string"
], - "checklists": [
- "string"
], - "tags": [
- "string"
], - "parent": "string",
- "priority": "string",
- "due_date": "string",
- "start_date": "string",
- "points": 0,
- "time_estimate": "string",
- "time_spent": "string",
- "custom_fields": [
- {
- "id": "string",
- "name": "string",
- "type": "string",
- "type_config": { },
- "date_created": "string",
- "hide_from_guests": true,
- "value": {
- "id": 183,
- "username": "John Doe",
- "email": "john@example.com",
- "color": "#7b68ee",
- "initials": "JD",
- "profilePicture": null
}, - "value_richtext": "string",
- "value_markdown": "string",
- "required": true
}
], - "list": {
- "id": "123"
}, - "folder": {
- "id": "456"
}, - "space": {
- "id": "789"
}, - "url": "string",
- "markdown_description": "string",
- "attachments": [
- {
- "id": "62447c77-2086-4cda-b274-f53eccf0547b.csv",
- "date": 1711570108374,
- "title": "Canny - Exported posts - 2024-03-09.csv",
- "type": 1,
- "source": 1,
- "version": 0,
- "extension": "csv",
- "thumbnail_small": null,
- "thumbnail_medium": null,
- "thumbnail_large": null,
- "is_folder": null,
- "mimetype": "text/csv",
- "hidden": false,
- "parent_id": "36fjfqy",
- "size": 140970,
- "total_comments": 0,
- "resolved_comments": 0,
- "user": [
- {
- "id": [
- {
- "type": "integer",
- "contentEncoding": "int32"
}
], - "username": {
- "type": "string"
}, - "initials": {
- "type": "string"
}, - "email": {
- "type": "string"
}, - "color": {
- "type": "string"
}, - "profilePicture": {
- "type": "string"
}
}
], - "deleted": false,
- "orientation": null,
- "email_data": null,
}
]
}