Get a task
Read one task with its notes and checklist.
GET https://cotlet.dev/api/v1/habitica/tasks/{task_id}
read
Returns the title, notes, difficulty, tags, repeat settings for a daily or due date for a to-do, and every checklist item with its ID and state. Use it before editing a checklist.
Parameters
| Name | Type | Description |
|---|---|---|
| task_id string required | string | Task ID from list_tasks. |
Request
curl https://cotlet.dev/api/v1/habitica/tasks/task_8c41d2 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("habitica", "get_task", {"task_id":"task_8c41d2"}) const result = await cotlet.call('habitica', 'get_task', {"task_id":"task_8c41d2"}); cotlet call habitica get_task --data '{"task_id":"task_8c41d2"}' Example response
{
"task_id": "4e0b9c12-77a3-4d0f-8b1e-2a6f9d3c5e70",
"type": "todo",
"title": "Move apartment",
"difficulty": "hard",
"due": "2026-11-15",
"checklist": [
{
"item_id": "c1",
"text": "Book the movers",
"done": true
},
{
"item_id": "c2",
"text": "Cancel electricity",
"done": false
}
]
}