Method: tasklists.insert
Creates a new task list and adds it to the authenticated user's task lists. A user can have up to 2000 lists at a time.
HTTP request
POST https://tasks.googleapis.com/tasks/v1/users/@me/lists
The URL uses gRPC Transcoding syntax.
Request body
The request body contains an instance of TaskList
.
Response body
If successful, the response body contains a newly created instance of TaskList
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/tasks
For more information, see the Authorization guide.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-04 UTC.
[null,null,["Last updated 2024-09-04 UTC."],[[["Creates a new task list and adds it to the authenticated user's task lists, with a limit of 2000 lists per user."],["The API utilizes an HTTP POST request to `https://tasks.googleapis.com/tasks/v1/users/@me/lists` to create the list."],["Request and response bodies utilize the `TaskList` object for data structure."],["Requires `https://www.googleapis.com/auth/tasks` OAuth scope for authorization."]]],[]]