API: Subtasks
Subtasks are lightweight checklist items inside a task. They appear inline in the task object — there is no separate read endpoint.
Add a subtask
Section titled “Add a subtask”POST /api/workspaces/{workspaceId}/tasks/{taskId}/subtasks{ "title": "Compare prices" }Returns 201 with { "id": "…" }.
Rename a subtask
Section titled “Rename a subtask”PUT /api/workspaces/{workspaceId}/tasks/{taskId}/subtasks/{subtaskId}{ "title": "Compare prices online" }Returns 200.
Complete or reopen a subtask
Section titled “Complete or reopen a subtask”PATCH /api/workspaces/{workspaceId}/tasks/{taskId}/subtasks/{subtaskId}{ "status": "DONE" }Returns 200. Status values: PENDING, DONE.
Delete a subtask
Section titled “Delete a subtask”DELETE /api/workspaces/{workspaceId}/tasks/{taskId}/subtasks/{subtaskId}Returns 204.
