Google Tasks

App · To-Do Lists · 13 actions

Manage task lists and tasks in Google Tasks.

Actions

ActionWhat it does
Clear completed tasksClear every completed task out of a task list.
Complete taskMark a task as completed.
Create subtaskAdd a task under another task in the same list, such as a step of a bigger job.
Create taskCreate a new task in a task list.
Create task listCreate a new, empty task list.
Delete taskDelete a task from a task list.
Delete task listDelete a task list and every task in it.
Get taskLook up one task, such as the one that started the run, with its title, notes, due date, whether it's done and its link.
List task listsList the task lists in your Google account.
List tasksList the tasks in a task list, up to 2,000.
Move taskMove a task to another task list, or put it under another task as a subtask.
Rename task listGive a task list a new name.
Update taskChange a task's title, notes or due date, or mark it done or not done.

Clear completed tasks

Clear every completed task out of a task list. Google hides them rather than deleting them, so they no longer show in the list. Tasks not done stay.

Inputs

Task list IDtask_list_idtextRequired
ID of the task list to clear completed tasks from.

Outputs

clearedtrue/false
Whether the completed tasks were cleared
idtext
ID of the task list
Example output
{
  "cleared": true,
  "id": "list_abc123"
}

Complete task

Mark a task as completed.

Inputs

Task list IDtask_list_idtextRequired
ID of the task list the task belongs to.
Task IDtask_idtextRequired
ID of the task to complete.

Outputs

idtext
ID of the completed task
statustext
Task status after completion (always 'completed')
Example output
{
  "id": "task_abc123",
  "status": "completed"
}

Create subtask

Add a task under another task in the same list, such as a step of a bigger job.

Inputs

Task list IDtask_list_idtextRequired
ID of the task list the task belongs to.
Parent task IDparent_task_idtextRequired
ID of the task to put the new task under.
TitletitletextRequired
Title of the subtask.
Notesnotestext
Notes for the subtask.
Due dateduedate and time
When the subtask is due. Google Tasks keeps only the day.

Outputs

completedtext
When the task was marked done, empty if it isn't
duetext
Due date as an RFC 3339 timestamp, if set
idtext
Task ID
notestext
Task notes/description
parenttext
ID of the task it sits under, empty for a task of its own
statustext
Task status, either 'needsAction' or 'completed'
titletext
Task title
web_linktext
Link that opens the task in Google Tasks
Example output
{
  "completed": "",
  "due": "2026-02-01T00:00:00.000Z",
  "id": "task_def456",
  "notes": "",
  "parent": "task_abc123",
  "status": "needsAction",
  "title": "Send the welcome pack",
  "web_link": "https://tasks.google.com/task/task_abc123"
}

Create task

Create a new task in a task list.

Inputs

Task list IDtask_list_idtextRequired
ID of the task list to add the task to.
TitletitletextRequired
Title of the task.
Notesnotestext
Notes/description for the task.
Due dateduedate and time
Due date for the task, as an RFC 3339 timestamp (e.g. 2026-02-01T00:00:00Z).

Outputs

idtext
ID of the created task. Use this with complete_task.
Example output
{
  "id": "task_abc123"
}

Create task list

Create a new, empty task list.

Inputs

NametitletextRequired
Name of the task list.

Outputs

idtext
ID of the new task list. Use it to add tasks to it.
titletext
Task list name
Example output
{
  "id": "list_abc123",
  "title": "Onboarding: Sam"
}

Delete task

Delete a task from a task list.

Inputs

Task list IDtask_list_idtextRequired
ID of the task list the task belongs to.
Task IDtask_idtextRequired
ID of the task to delete.

Outputs

deletedtrue/false
Whether the task was deleted
idtext
ID of the deleted task
Example output
{
  "deleted": true,
  "id": "task_abc123"
}

Delete task list

Delete a task list and every task in it.

Inputs

Task list IDtask_list_idtextRequired
ID of the task list to delete, with all its tasks.

Outputs

deletedtrue/false
Whether the task list was deleted
idtext
ID of the deleted task list
Example output
{
  "deleted": true,
  "id": "list_abc123"
}

Get task

Look up one task, such as the one that started the run, with its title, notes, due date, whether it's done and its link.

Inputs

Task list IDtask_list_idtextRequired
ID of the task list the task belongs to.
Task IDtask_idtextRequired
ID of the task to look up.

Outputs

completedtext
When the task was marked done, empty if it isn't
duetext
Due date as an RFC 3339 timestamp, if set
idtext
Task ID
notestext
Task notes/description
parenttext
ID of the task it sits under, empty for a task of its own
statustext
Task status, either 'needsAction' or 'completed'
titletext
Task title
web_linktext
Link that opens the task in Google Tasks
Example output
{
  "completed": "",
  "due": "2026-02-01T00:00:00.000Z",
  "id": "task_abc123",
  "notes": "Sent the proposal, waiting on a reply.",
  "parent": "",
  "status": "needsAction",
  "title": "Follow up with customer",
  "web_link": "https://tasks.google.com/task/task_abc123"
}

List task lists

List the task lists in your Google account.

Inputs

None.

Outputs

task_listslist
List of task lists
Example output
{
  "task_lists": [
    {
      "id": "list_abc123",
      "title": "My Tasks"
    }
  ]
}

List tasks

List the tasks in a task list, up to 2,000.

Inputs

Task list IDtask_list_idtextRequired
ID of the task list to list tasks from.
Show completedshow_completedtrue/false
Whether to include completed tasks (default true).
Searchsearchtext
Beta. Only tasks whose title or notes contain this text, ignoring case. Leave blank for every task.

Outputs

taskslist
List of tasks
Example output
{
  "tasks": [
    {
      "due": "2026-02-01T00:00:00.000Z",
      "id": "task_abc123",
      "notes": "Sent the proposal, waiting on a reply.",
      "status": "needsAction",
      "title": "Follow up with customer"
    }
  ]
}

Move task

Move a task to another task list, or put it under another task as a subtask. A task that repeats can't be moved to another list.

Inputs

Task list IDtask_list_idtextRequired
ID of the task list the task is in now.
Task IDtask_idtextRequired
ID of the task to move.
Move to task listdestination_task_list_idtext
ID of the task list to move the task to. Leave blank to keep it in its list.
Put under taskparent_task_idtext
ID of a task to put this one under, as a subtask. Leave blank to make it a task of its own.

Outputs

completedtext
When the task was marked done, empty if it isn't
duetext
Due date as an RFC 3339 timestamp, if set
idtext
Task ID
notestext
Task notes/description
parenttext
ID of the task it sits under, empty for a task of its own
statustext
Task status, either 'needsAction' or 'completed'
titletext
Task title
web_linktext
Link that opens the task in Google Tasks
Example output
{
  "completed": "",
  "due": "2026-02-01T00:00:00.000Z",
  "id": "task_abc123",
  "notes": "Sent the proposal, waiting on a reply.",
  "parent": "",
  "status": "needsAction",
  "title": "Follow up with customer",
  "web_link": "https://tasks.google.com/task/task_abc123"
}

Rename task list

Give a task list a new name. Its tasks stay as they are.

Inputs

Task list IDtask_list_idtextRequired
ID of the task list to rename.
New nametitletextRequired
The task list's new name.

Outputs

idtext
ID of the task list
titletext
The task list's new name
Example output
{
  "id": "list_abc123",
  "title": "Onboarding: done"
}

Update task

Change a task's title, notes or due date, or mark it done or not done. Fields left blank stay as they are.

Inputs

Task list IDtask_list_idtextRequired
ID of the task list the task belongs to.
Task IDtask_idtextRequired
ID of the task to change.
Titletitletext
The task's new title. Leave blank to keep it.
Notesnotestext
The task's new notes. Leave blank to keep them.
Due dateduedate and time
The task's new due date. Google Tasks keeps only the day. Leave blank to keep it.
Donestatustext
Whether the task is done.One of: unchanged (Leave as it is), needsAction (Not done), completed (Done). Default: unchanged.

Outputs

duetext
Due date as an RFC 3339 timestamp, if set
idtext
Task ID
notestext
Task notes/description
statustext
Task status, either 'needsAction' or 'completed'
titletext
Task title
Example output
{
  "due": "2026-02-01T00:00:00.000Z",
  "id": "task_abc123",
  "notes": "Sent the proposal, waiting on a reply.",
  "status": "needsAction",
  "title": "Follow up with customer"
}

On this page