Skip to main content

SyncTask

type SyncTask = {
addedAt: string;
addedByUid: string | null;
assignedByUid: string | null;
checked: boolean;
childOrder: number;
content: string;
deadline: Deadline | null;
description: string;
due: DueDate | null;
duration: Duration | null;
id: string;
labels: string[];
parentId: string | null;
priority: number;
projectId: string;
responsibleUid: string | null;
sectionId: string | null;
};

Type declaration

NameType
addedAtstring
addedByUidstring | null
assignedByUidstring | null
checkedboolean
childOrdernumber
contentstring
deadlineDeadline | null
descriptionstring
dueDueDate | null
durationDuration | null
idstring
labelsstring[]
parentIdstring | null
prioritynumber
projectIdstring
responsibleUidstring | null
sectionIdstring | null

See

https://developer.todoist.com/rest/v2/#quick-add-task