Skip to main content
New to Corsair? See API access, authentication, and error handling.

Task Lists

delete

taskLists.delete Delete a task list; assigned tasks and their source tasks may also be deleted. OAuth scope: https://www.googleapis.com/auth/tasks. Risk: destructive
Input The default task list cannot be deleted. Deleting a list containing assigned tasks may also delete the original tasks in Docs or Chat Spaces. Output: undefined

get

taskLists.get Get one task list. OAuth scope: https://www.googleapis.com/auth/tasks.readonly or https://www.googleapis.com/auth/tasks. Risk: read
Input Output

insert

taskLists.insert Create a task list. OAuth scope: https://www.googleapis.com/auth/tasks. Risk: write
Input
Output

list

taskLists.list List a page of task lists. OAuth scope: https://www.googleapis.com/auth/tasks.readonly or https://www.googleapis.com/auth/tasks. Risk: read
Input taskLists.list accepts at most 1000 task lists per page and returns nextPageToken for continuation. Output

patch

taskLists.patch Partially update a task list. OAuth scope: https://www.googleapis.com/auth/tasks. Risk: write
Input
Output

update

taskLists.update Replace a task list. OAuth scope: https://www.googleapis.com/auth/tasks. Risk: write
Input
Output

Tasks

clear

tasks.clear Hide all completed tasks in a task list. OAuth scope: https://www.googleapis.com/auth/tasks. Risk: destructive
Input Clearing hides all completed tasks; it does not permanently delete them. Clear and delete methods return HTTP 204 with no response body. Output: undefined

delete

tasks.delete Delete a task; assigned tasks may also delete their source task. OAuth scope: https://www.googleapis.com/auth/tasks. Risk: destructive
Input Deleting an assigned task may also delete its original task in Docs or Chat Spaces. Output: undefined

get

tasks.get Get one task. OAuth scope: https://www.googleapis.com/auth/tasks.readonly or https://www.googleapis.com/auth/tasks. Risk: read
Input Output

insert

tasks.insert Create a task, optionally under a parent or after a sibling. OAuth scope: https://www.googleapis.com/auth/tasks. Risk: write
Input
Output

list

tasks.list List a page of tasks with the documented filters. OAuth scope: https://www.googleapis.com/auth/tasks.readonly or https://www.googleapis.com/auth/tasks. Risk: read
Input tasks.list returns 20 tasks by default and accepts at most 100 per page. Pass nextPageToken back as pageToken to continue. Its documented completion, due-date, update-time, and visibility filters are available as inputs. Output

move

tasks.move Move a task within or between task lists or change its parent. OAuth scope: https://www.googleapis.com/auth/tasks. Risk: write
Input Output

patch

tasks.patch Partially update a task. OAuth scope: https://www.googleapis.com/auth/tasks. Risk: write
Input Send due: null to remove a due date; an omitted field keeps its value. To delete a task use tasks.delete: update and patch accept only deleted: false.
Output

update

tasks.update Replace a task. OAuth scope: https://www.googleapis.com/auth/tasks. Risk: write
Input
Output