Tasks API.
Manage tasks programmatically.
The Tasks API allows you to create, manage, and track tasks in Clear Tangle. Tasks can be manually created or automatically extracted from captures. Support for recurring tasks, priorities, and project organization is included.
Endpoints
Task object
A task object contains the following properties:
idstringUnique task identifiertitlestringTask titledescriptionstringOptional detailed descriptionstatusstringpending, completed, or cancelleddueDateISO8601Due date and timeprioritystringlow, medium, high, or urgentprojectIdstringAssociated project IDtagsstring[]Array of tagsestimatedMinutesintegerEstimated time to completesourceCapturestringID of capture task was extracted fromrecurrenceobjectRecurrence configurationcompletedAtISO8601Completion timestampCreate a task
Create a new task with optional recurrence settings.
Response
Recurring tasks
Set up recurring tasks with the recurrence object:
{ "frequency": "daily" }{ "frequency": "weekly", "daysOfWeek": ["monday", "wednesday", "friday"] }{ "frequency": "monthly", "dayOfMonth": 15 }{ "frequency": "custom", "intervalDays": 3 }List tasks
Retrieve tasks with optional filtering.
Query parameters
statusFilter by status (pending, completed, cancelled)priorityFilter by priority (low, medium, high, urgent)projectIdFilter by projecttagsComma-separated tag filterdueDateFilter by due date (exact or range with startDate/endDate)overdueSet to true to only show overdue taskssortSort field (dueDate, priority, createdAt)orderSort order (asc, desc)Complete a task
Mark a task as completed with optional completion notes.
For recurring tasks, completing a task automatically creates the next occurrence.
Update a task
Update task properties. Only provided fields will be modified.
Delete a task
Permanently delete a task.
For recurring tasks, deleting removes only the single instance. Use ?deleteAll=true to delete the entire series.
Convenience endpoints
GET /tasks/todayReturns all tasks due today, sorted by priority.GET /tasks/overdueReturns all incomplete tasks past their due date.