Google Tasks Tasks Tasklists API

The Tasks Tasklists API from Google Tasks — 2 operation(s) for tasks tasklists.

GitHub OpenAPI

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /tasks/v1/users/@me/lists/{tasklist} Get a task list · Get tasklists #
Ask an LLM
“How do I read one of my task lists by its ID?”
“Can I fetch a task list by its title instead of its ID?”
Tell an agent
Get task list {tasklist}.
Show the tasks in my task list {tasklist}.
PATCH /tasks/v1/users/@me/lists/{tasklist} Rename a task list · Patch tasklists #
Ask an LLM
“How do I change just the title of a task list?”
“Can I rename a task list without resending its whole record?”
Tell an agent
Rename task list {tasklist} to {title}.
Patch only the title of task list {tasklist}.
PUT /tasks/v1/users/@me/lists/{tasklist} Replace a task list's title · Update tasklists #
Ask an LLM
“How do I rename a task list by replacing its whole record?”
“Can I overwrite a task list's title in full?”
Tell an agent
Replace task list {tasklist} with title {title}.
Overwrite the whole record of task list {tasklist}.
DELETE /tasks/v1/users/@me/lists/{tasklist} Delete a task list · Delete tasklists #
Ask an LLM
“How do I delete a task list I no longer use?”
“Can I delete a task list that still has assigned tasks?”
Tell an agent destructive · confirm first
Delete task list {tasklist}.
Remove my task list {tasklist}.
GET /tasks/v1/users/@me/lists List my task lists · List tasklists #
Ask an LLM
“What task lists do I have?”
“How many task lists can one user have?”
Tell an agent
List all my task lists.
Show the first {maxResults} task lists.
POST /tasks/v1/users/@me/lists Create a task list · Insert tasklists #
Ask an LLM
“How do I create a new task list?”
“Can I give a new task list a title when I create it?”
Tell an agent
Create a task list titled {title}.
Add a new task list called {title}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-tasks:google-tasks-tasklists-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-tasks-tasklists-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Tasks Tasklists API
  version: v1
  description: Generated from Google's published Discovery document for Google Tasks API (tasks v1, revision 20261110). 6 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://tasks.googleapis.com
tags:
- name: Tasklists
paths:
  /tasks/v1/users/@me/lists/{tasklist}:
    get:
      operationId: tasks.tasklists.get
      summary: Get tasklists
      description: Returns the authenticated user's specified task list.
      parameters:
      - name: tasklist
        in: path
        required: true
        description: Task list identifier. Use "@default" to get the authenticated user's default task list.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskList'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/tasks
        - https://www.googleapis.com/auth/tasks.readonly
      - apiKey: []
      tags:
      - Tasklists
    patch:
      operationId: tasks.tasklists.patch
      summary: Patch tasklists
      description: Updates the authenticated user's specified task list. This method supports patch semantics.
      parameters:
      - name: tasklist
        in: path
        required: true
        description: Task list identifier.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TaskList'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskList'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/tasks
      - apiKey: []
      tags:
      - Tasklists
    put:
      operationId: tasks.tasklists.update
      summary: Update tasklists
      description: Updates the authenticated user's specified task list.
      parameters:
      - name: tasklist
        in: path
        required: true
        description: Task list identifier.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TaskList'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskList'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/tasks
      - apiKey: []
      tags:
      - Tasklists
    delete:
      operationId: tasks.tasklists.delete
      summary: Delete tasklists
      description: Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted. The user's default task list cannot be deleted.
      parameters:
      - name: tasklist
        in: path
        required: true
        description: Task list identifier. The default task list cannot be deleted.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/tasks
      - apiKey: []
      tags:
      - Tasklists
  /tasks/v1/users/@me/lists:
    get:
      operationId: tasks.tasklists.list
      summary: List tasklists
      description: Returns all the authenticated user's task lists. A user can have up to 2000 lists at a time.
      parameters:
      - name: maxResults
        in: query
        required: false
        description: 'Optional. Maximum number of task lists returned on one page. The default is 1000 (max allowed: 1000).'
        schema:
          type: integer
          format: int32
      - name: pageToken
        in: query
        required: false
        description: Optional. Token specifying the result page to return.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskLists'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/tasks
        - https://www.googleapis.com/auth/tasks.readonly
      - apiKey: []
      tags:
      - Tasklists
    post:
      operationId: tasks.tasklists.insert
      summary: Insert tasklists
      description: 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.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TaskList'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskList'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/tasks
      - apiKey: []
      tags:
      - Tasklists
components:
  schemas:
    TaskLists:
      type: object
      properties:
        kind:
          description: Type of the resource. This is always "tasks#taskLists".
          type: string
        etag:
          description: ETag of the resource.
          type: string
        nextPageToken:
          description: Token that can be used to request the next page of this result.
          type: string
        items:
          type: array
          description: Collection of task lists.
          items:
            $ref: '#/components/schemas/TaskList'
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    TaskList:
      properties:
        kind:
          description: Output only. Type of the resource. This is always "tasks#taskList".
          type: string
          readOnly: true
        selfLink:
          type: string
          readOnly: true
          description: Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list.
        title:
          description: 'Title of the task list. Maximum length allowed: 1024 characters.'
          type: string
        id:
          description: Task list identifier. In requests, the authenticated user's default task list can also be referred to as "@default".
          type: string
        etag:
          description: ETag of the resource.
          type: string
        updated:
          description: Output only. Last modification time of the task list (as a RFC 3339 timestamp).
          readOnly: true
          type: string
      type: object
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/tasks.readonly: View your tasks
            https://www.googleapis.com/auth/tasks: Create, edit, organize, and delete all your tasks
externalDocs:
  url: https://developers.google.com/workspace/tasks/
x-provenance:
  method: harvested
  publisher: Google
  source: https://tasks.googleapis.com/$discovery/rest?version=v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261110)