> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Tasks

> Integrate your application with the Google Tasks API

## 🚀 Quickstart

Connect to Google Tasks with Nango and see data flow in 2 minutes.

**1. Create an integration**

In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *Google Tasks*.

> [!NOTE]
>
> Nango has a [Nango-managed OAuth app](https://nango.dev/docs/guides/auth/auth-guide.md#nango-managed-oauth-apps) you can use in development and production. Select it when you create the integration.

**2. Authorize Google Tasks**

Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection* -> *Authorize*, then log in to Google. Later, you'll let your users do the same directly from your app.

**3. Call the Google Tasks API**

Let's make your first request to the Google Tasks API (list task lists). Replace the placeholders below with your [Environment API key](https://nango.dev/docs/reference/backend/http-api/api-keys.md), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):

> [tab] cURL
>
> ```bash theme={null}
> curl "https://api.nango.dev/proxy/tasks/v1/users/@me/lists" \
>   -H "Authorization: Bearer <NANGO-API-KEY>" \
>   -H "Provider-Config-Key: <INTEGRATION-ID>" \
>   -H "Connection-Id: <CONNECTION-ID>"
> ```

> [tab] Node
>
> Install Nango's backend SDK with `npm i @nangohq/node`. Then run:
>
> ```typescript theme={null}
> import { Nango } from '@nangohq/node';
>
> const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });
>
> const res = await nango.get({
>     endpoint: '/tasks/v1/users/@me/lists',
>     providerConfigKey: '<INTEGRATION-ID>',
>     connectionId: '<CONNECTION-ID>'
> });
>
> console.log(JSON.stringify(res.data, null, 2));
> ```

Or fetch credentials with the [Node SDK](https://nango.dev/docs/reference/backend/backend-sdk/node.md#get-a-connection-with-credentials) or [API](https://nango.dev/docs/reference/backend/http-api/connections/get.md).

✅ You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.

**4. Implement Nango in your app**

Follow our [Auth implementation guide](https://nango.dev/docs/guides/primitives/auth.md) to integrate Nango in your app.

To use your own OAuth app instead of the Nango-managed one, follow the setup guide linked below.

## 📚 Google Tasks Integration Guides

Nango-maintained guides for common use cases.

* [How to register your own Google Tasks OAuth app](https://nango.dev/docs/api-integrations/google-tasks/how-to-register-your-own-google-tasks-api-oauth-app)\
  Register an OAuth app with Google and obtain credentials to connect it to Nango.

* [Google App & Security Review](https://nango.dev/docs/api-integrations/google-shared/google-security-review)
  Pass Google's OAuth app verification to go to production with your own OAuth app (not needed with the Nango-managed app)

Official docs: [Google Tasks API](https://developers.google.com/tasks/api/reference/rest)

## 🧩 Pre-built syncs & tools for Google Tasks

Explore Nango-provided tools in your dashboard. Extend and customize them to fit your needs.

### Others

| Function name | Description | Type |
| - | - | - |
| `complete-task-and-verify` | Complete a task, verify its final state, and report any subtasks that were auto-completed as a side effect. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `complete-task` | Mark a task as completed. NOTE: if this task has subtasks, they are auto-completed too - see comments. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-task` | Create a new task in a list, optionally as a subtask of an existing task and/or positioned after a specific sibling. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-tasklist` | Create a new, empty task list. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `delete-task` | Permanently delete a task from a task list. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `delete-tasklist` | Permanently delete a task list and every task inside it. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `find-or-create-task-in-tasklist` | Find a task by title in the task list with a given name, creating the list and/or the task only when they do not exist yet. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-task` | Retrieve a single task by its list ID and task ID - including a deleted task, which is returned as a tombstone rather than a 404. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-tasklist-full-tree` | Fetch a task list with all of its tasks, with the subtask hierarchy reconstructed into a nested tree. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-tasklist` | Retrieve a single task list by its ID (or the literal alias `@default` for the user's default list). | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-tasklists` | List all of the user's task lists. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-tasks` | List tasks in a given task list, with optional filters for completed, hidden, and deleted tasks and date or update ranges. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `move-task` | Move a task to a new parent and/or sibling position within the same list, or to a different task list entirely. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `patch-task` | Partially update a task (PATCH): only the fields you pass change and everything else is left untouched. Use update-task to replace the whole task. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `reopen-task` | Mark a completed task as not done again, undoing its completion and un-hiding it if it was hidden. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-task` | Replace a task (full PUT): notes, status, and due are cleared or reset when omitted. Use patch-task to change only some fields. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-tasklist` | Rename a task list. The title is the only writable task list field, so this full PUT update only changes the title. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `task-lists` | Sync metadata (title, updated timestamp) for every task list in the account. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `tasks` | Sync every task across every task list in the account, incrementally, including completed, hidden, and assigned tasks; deleted tasks and tasks of deleted lists are removed. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.