Productivity
Google Tasks in your product and your AI agents, through one API
The Google Tasks toolkit covers task lists and tasks: list, create, rename and read lists, and create, update, move, complete and delete tasks, including subtasks. The customer connects their Google account once with OAuth, and your product or AI agent calls every operation through one Connect endpoint, without handling Google tokens.
15 days to try it. No credit card.
POST https://connect.reportei.com/api/tools/google_tasks_create_tasklist/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json
{
"customer_toolkit": "<connection UUID>",
"arguments": {
"title": "<title>"
}
}How it works
From a connected customer to the first Google Tasks call.
- 1
Your customer connects the account
Your system opens a Connect session for the toolkit and your customer connects their Google Tasks account. You get the connection id.
- 2
Your product calls the tool
A POST to /api/tools/{tool}/execute with the connection id and arguments. On success, Connect preserves the app's response status and body.
- 3
Connect handles the rest
It stores the credential encrypted, renews tokens for OAuth connections that support renewal and records executions in an audit trail available through the API.
Use cases
What your product does with Google Tasks.
To-dos from your product
When something needs follow-up in your app, create a task with title, notes and due date in the customer's own Google Tasks list.
Two-way task status
List the tasks of a list and read their status, so your product can show what is done and mark a task completed or needsAction again.
AI agent as a personal assistant
Let an agent add tasks, break one into subtasks with parent and move tasks between lists when the user asks.
Tools
9 Google Tasks tools
- List task listsGETLists the task lists of the account, with id and title. Use the id of an item as tasklist in the other tools. Pass nextPageToken as pageToken to read the next page.
- Create task listPOSTCreates a task list and returns it with its id. An account can have up to 2000 task lists.
- Update task listPATCHRenames a task list.
- List tasksGETLists the tasks of a task list, subtasks included, with id, title, notes, status, due, completed and parent, the id of the parent task of a subtask. Tasks completed in the Google apps are hidden: set showHidden to true to see them. Pass nextPageToken as pageToken to read the next page.
- Get taskGETReturns a task with its title, notes, status, due date, completion time, parent and webViewLink, the link to the task in the Google Tasks web app.
- Create taskPOSTCreates a task in a task list, in the first position unless previous says otherwise. Pass parent to create it as a subtask. Tasks assigned from Google Docs or Chat spaces cannot be created here.
- Update taskPATCHChanges the title, notes, due date or status of a task; only the fields sent change. Set status to completed to complete the task, or to needsAction to reopen it. To change its list, parent or position, use Move task.
- Move taskPOSTMoves a task to another position, under another parent task or to another task list. Without parent the task goes to the top level, and without previous it goes to the first position. Repeating tasks cannot move to another list.
- Delete taskDELETEDeletes a task. A task assigned from Google Docs or Chat spaces is deleted there too.
OAuth with your product's app
You register your product's OAuth app once, with POST /api/merchants/credentials/google_tasks, and your customer authorizes the account on a consent screen. Connect renews the token when it is about to expire.
Questions about the Google Tasks toolkit
Do I need to build against the Google Tasks API?
No. Connect ships 9 Google Tasks tools, described and ready. Your customer connects the account and your system calls every tool through the same endpoint, with the same request format.
How does my customer connect their Google Tasks account?
With the mode the toolkit accepts: OAuth with your product's app. Connect stores the credential encrypted and never returns it to your system.
Does it work with AI agents?
Yes. Each tool's input is described in JSON Schema, which your agent uses directly as a tool definition. The agent picks the tool and the arguments, and your system makes the call to Connect.
Does my customer need a Reportei account?
No. Your customer connects the account on a Connect screen, or your system sends the credential through the API, and they keep using only your product.
See Connect applied to your product.
Try it for 15 days with no card, or walk our team through your use case.
