Skip to main content

Task

A task is a unit of work. It can be a simple to-do item or a more complex task with subtasks, comments, and attachments.

See

https://developer.todoist.com/sync/v9/#items

Extends

  • TypeOf<typeof TaskSchema>

Properties

PropertyType
assigneeIdnull | string
assignerIdnull | string
commentCountnumber
contentstring
createdAtstring
creatorIdstring
deadline| null | { date: string; lang: string; }
descriptionstring
due| null | { date: string; datetime: null | string; isRecurring: boolean; lang: null | string; string: string; timezone: null | string; }
duration| null | { amount: number; unit: "minute" | "day"; }
idstring
isCompletedboolean
labelsstring[]
ordernumber
parentIdnull | string
prioritynumber
projectIdstring
sectionIdnull | string
urlstring