Small shell script that adds a task to Todoist (due today by default) via the Todoist REST API v1.
TODOIST_API_TOKEN=<your-token> ./add_todoist_task.sh "Buy milk"
TODOIST_API_TOKEN=<your-token> ./add_todoist_task.sh "Call accountant" "tomorrow"- The API token is passed via the
TODOIST_API_TOKENenvironment variable. It is never stored in this repo. - The optional second argument is any Todoist due string (default:
today). - Requires
curlandjq. - Get a token at https://todoist.com/app/settings/integrations/developer