This query returns a list of every time a task was marked as completed with a label you specified. NOTE: Labels are only supported for Todoist Premium users.API endpoint slug todoist.history_of_completed_task_with_label Runtime method performQuery("todoist.history_of_completed_task_with_label")
Query fields Label Label to watch Helper text Configure this trigger to fire only when the completed task has the specified label. Slug label_id Required true Can have default value false Label Project to watch Helper text Configure this trigger to fire only when the completed task is in the specified project. Slug project_id Required true Can have default value false
Ingredients Slug task_content Filter code Todoist.historyOfCompletedTaskWithLabel.TaskContent Type String Example Pay telephone bill Slug link_to_task Filter code Todoist.historyOfCompletedTaskWithLabel.LinkToTask Type Web URL Example https://todoist.com/showTask?id=999 Slug project Filter code Todoist.historyOfCompletedTaskWithLabel.Project Type String Example Household Tasks Slug labels Filter code Todoist.historyOfCompletedTaskWithLabel.Labels Type String Example to_follow_up Slug priority Filter code Todoist.historyOfCompletedTaskWithLabel.Priority Type String Example Priority 1 Slug completed_at Filter code Todoist.historyOfCompletedTaskWithLabel.CompletedAt Type Date with time (ISO8601) Example 2020-07-08T04:17:06.000+05:00 Slug due_date Filter code Todoist.historyOfCompletedTaskWithLabel.DueDate Type Date with time (ISO8601) Example 2020-07-08T04:17:06.000+05:00