Method: tasklists.insert

Creates a new task list and adds it to the authenticated user's task lists.

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 data with the following structure:

JSON representation
{
  "resource": {
    object (TaskList)
  }
}
Fields
resource

object (TaskList)

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/tasks