Skip to main content

Documentation Index

Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt

Use this file to discover all available pages before exploring further.

Overview

OneCLI connects AI agents to Todoist through Todoist’s OAuth flow. Agents can create tasks, mark them complete, organize them into projects, and query your task list. The gateway injects OAuth credentials into requests to the Todoist API automatically. This is useful for agents that need to track work items, create follow-up tasks after completing operations, or manage to-do lists on your behalf.

Setup

1

Go to Connections

Open the OneCLI dashboard and navigate to Connections > Todoist.
2

Authorize

Click Connect Todoist. You’ll be redirected to Todoist to authorize OneCLI. Review the permissions and click Agree.

What agents can do

  • List all active tasks, optionally filtered by project, label, or due date
  • Create new tasks with a title, description, due date, priority, and labels
  • Complete (close) tasks
  • Reopen completed tasks
  • Update task details (title, description, due date, priority, labels)
  • Delete tasks
  • List, create, and manage projects
  • List, create, and manage sections within projects
  • Add and remove labels
  • Read and add comments on tasks

Controlling access with rules

Use OneCLI’s rules engine to limit what agents can do with your tasks. For example, you can allow agents to create and list tasks but block deletions, or restrict task creation to specific projects. Rules are evaluated before credential injection, so a blocked request never reaches Todoist.