Top Todoist automations
Explore Plans
Mobile menu Close menu
TodoistTodoist

History of completed task with label

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.

About this query

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
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 ID Dropdown list

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

Project ID Dropdown list

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

Task contentContent of the task.

Slug
task_content
Filter code
Todoist.historyOfCompletedTaskWithLabel.TaskContent
Type
String
Example
Pay telephone bill

Link to taskThe URL of the task​.

Slug
link_to_task
Filter code
Todoist.historyOfCompletedTaskWithLabel.LinkToTask
Type
Web URL
Example
https://todoist.com/showTask?id=999

ProjectProject to which the task belongs.

Slug
project
Filter code
Todoist.historyOfCompletedTaskWithLabel.Project
Type
String
Example
Household Tasks

LabelsLabels assigned to the tasks

Slug
labels
Filter code
Todoist.historyOfCompletedTaskWithLabel.Labels
Type
String
Example
to_follow_up

PriorityPriority of the task.

Slug
priority
Filter code
Todoist.historyOfCompletedTaskWithLabel.Priority
Type
String
Example
Priority 1

Completed atDate and time the task was completed.

Slug
completed_at
Filter code
Todoist.historyOfCompletedTaskWithLabel.CompletedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Due dateDue date of the task.

Slug
due_date
Filter code
Todoist.historyOfCompletedTaskWithLabel.DueDate
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00