Skip to main content

Google Tasks

This page contains the setup guide and reference information for the Google Tasks source connector.

Documentation reference:​

Visit https://developers.google.com/tasks/reference/rest for API documentation

Authentication setup​

The Google Tasks API only accepts OAuth 2.0 user credentials (it does not support API keys). The connector supports two authentication options:

  • Authenticate via Google (OAuth) (recommended): provide a Google OAuth 2.0 Client ID, Client Secret and Refresh Token. The connector exchanges the refresh token for a new access token at the start of every sync, so scheduled syncs keep working.
  • Access Token: a raw Google OAuth 2.0 access token. Google access tokens expire after about one hour, so this option is only suitable for one-off tests.

Connections created before version 0.0.71 used a single api_key field holding an access token; such configurations are migrated automatically to the Access Token option. Because that token has long expired, edit the source and switch to the Authenticate via Google (OAuth) option to resume syncing.

Obtaining OAuth credentials​

  • Visit google cloud https://console.cloud.google.com/apis/api/tasks.googleapis.com/metrics and enable the Tasks API service
  • Go to the consent screen https://console.cloud.google.com/apis/credentials/consent and add your email as a test user
  • Visit https://console.cloud.google.com/apis/credentials and create new credentials for OAuth 2.0 and copy the client id and client secret
  • Obtain a refresh token for your account, for example with Postman:
    • Add callback url https://oauth.pstmn.io/v1/callback while creating the credentials
    • Go to the postman client and select a new tab for setting authorization to OAuth 2.0
    • Set scope as https://www.googleapis.com/auth/tasks.readonly
    • Set access token URL as https://oauth2.googleapis.com/token
    • Set auth URL as https://accounts.google.com/o/oauth2/v2/auth and add the advanced parameters access_type=offline and prompt=consent so a refresh token is returned
    • Click Get New Access Token and authorize via your google account
    • Copy the resulting refresh token (and the client id and client secret) into the connector configuration

Configuration​

InputTypeDescriptionDefault Value
credentialsobjectAuthentication. Credentials for connecting to the Google Tasks API.
credentials.client_idstringClient ID of the Google OAuth 2.0 application (OAuth option).
credentials.client_secretstringClient Secret of the Google OAuth 2.0 application (OAuth option).
credentials.refresh_tokenstringRefresh token obtained with the https://www.googleapis.com/auth/tasks.readonly scope (OAuth option).
credentials.access_tokenstringShort-lived Google OAuth 2.0 access token (Access Token option).
start_datestringStart date. Only task lists and tasks last updated on or after this date are synced.
records_limitstringRecords Limit. The maximum number of records to be returned per request50

Streams​

Stream NamePrimary KeyPaginationSupports Full SyncSupports Incremental
tasksidDefaultPaginator✅✅
lists_tasksidDefaultPaginator✅✅

IP allow list​

If you use Airbyte Cloud and your organization restricts access to specific IPs, add the Airbyte Cloud IP addresses to your allow list.

Reference​

Config fields reference

Field
Type
Property name
object
credentials
string
start_date
string
records_limit

Changelog​

Expand to review
VersionDatePull RequestSubject
0.0.722026-10-1388642Update dependencies
0.0.712026-10-0788270Add OAuth (refresh token) authentication so access tokens are refreshed every sync; migrate legacy api_key configs
0.0.702026-10-0687907Update dependencies
0.0.692026-09-2987191Update dependencies
0.0.682026-09-2286671Update dependencies
0.0.672026-09-1586084Update dependencies
0.0.662026-09-0885510Update dependencies
0.0.652026-08-1884621Update dependencies
0.0.642026-08-1183974Update dependencies
0.0.632026-08-0483480Update dependencies
0.0.622026-07-2882963Update dependencies
0.0.612026-07-2182438Update dependencies
0.0.602026-07-1481853Update dependencies
0.0.592026-06-3081100Update dependencies
0.0.582026-06-2380492Update dependencies
0.0.572026-06-1679891Update dependencies
0.0.562026-06-0979349Update dependencies
0.0.552026-06-0278747Update dependencies
0.0.542026-04-2877291Update dependencies
0.0.532026-04-2176620Update dependencies
0.0.522026-03-3175704Update dependencies
0.0.512026-03-2475356Update dependencies
0.0.502026-03-1074679Update dependencies
0.0.492026-03-0374168Update dependencies
0.0.482026-02-1073121Update dependencies
0.0.472026-02-0372659Update dependencies
0.0.462026-01-2071901Update dependencies
0.0.452026-01-1471719Update dependencies
0.0.442025-12-1870507Update dependencies
0.0.432025-11-2570046Update dependencies
0.0.422025-11-1869383Update dependencies
0.0.412025-10-2968791Update dependencies
0.0.402025-10-2168229Update dependencies
0.0.392025-10-1467878Update dependencies
0.0.382025-10-0767397Update dependencies
0.0.372025-09-3066403Update dependencies
0.0.362025-09-0965901Update dependencies
0.0.352025-08-2365308Update dependencies
0.0.342025-08-0964634Update dependencies
0.0.332025-08-0264184Update dependencies
0.0.322025-07-2663874Update dependencies
0.0.312025-07-1963502Update dependencies
0.0.302025-07-1263099Update dependencies
0.0.292025-07-0562639Update dependencies
0.0.282025-06-2161840Update dependencies
0.0.272025-06-1460652Update dependencies
0.0.262025-05-1059815Update dependencies
0.0.252025-05-0359281Update dependencies
0.0.242025-04-2658757Update dependencies
0.0.232025-04-1958209Update dependencies
0.0.222025-04-1257747Update dependencies
0.0.212025-04-0557032Update dependencies
0.0.202025-03-2956682Update dependencies
0.0.192025-03-2256038Update dependencies
0.0.182025-03-0855482Update dependencies
0.0.172025-03-0154781Update dependencies
0.0.162025-02-2254296Update dependencies
0.0.152025-02-1553794Update dependencies
0.0.142025-02-0853310Update dependencies
0.0.132025-02-0152863Update dependencies
0.0.122025-01-2552372Update dependencies
0.0.112025-01-1851805Update dependencies
0.0.102025-01-1151191Update dependencies
0.0.92024-12-2850647Update dependencies
0.0.82024-12-2150091Update dependencies
0.0.72024-12-1449594Update dependencies
0.0.62024-12-1249223Update dependencies
0.0.52024-12-1148949Starting with this version, the Docker image is now rootless. Please note that this and future versions will not be compatible with Airbyte versions earlier than 0.64
0.0.42024-11-0548366Revert to source-declarative-manifest v5.17.0
0.0.32024-11-0547770Update dependencies
0.0.22024-10-2847550Update dependencies
0.0.12024-09-1245427Initial release by @btkcodedev via Connector Builder