Install
openclaw skills install todoist-api-restDirect Todoist API integration via curl/jq. Lightweight, reliable, and uses working v1/v2 endpoints.
openclaw skills install todoist-api-restThis skill provides direct API access to Todoist. Use this when the CLI is unavailable or failing.
Ensure TODOIST_API_TOKEN is set or use the token from ~/.openclaw/.secrets/todoist_token.json.
curl -H "Authorization: Bearer $TODOIST_API_TOKEN" https://api.todoist.com/rest/v2/tasks | jq .
Note: If rest/v2 returns 410, use api/v1/tasks (see below).
curl -X POST -H "Authorization: Bearer $TODOIST_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"content": "New Task", "due_string": "today"}' \
https://api.todoist.com/rest/v2/tasks
curl -X POST -H "Authorization: Bearer $TODOIST_API_TOKEN" https://api.todoist.com/rest/v2/tasks/<task_id>/close
Use these if REST v2 endpoints return 410 Gone.
curl -H "Authorization: Bearer $TODOIST_API_TOKEN" https://api.todoist.com/api/v1/tasks | jq .results
curl -X POST -H "Authorization: Bearer $TODOIST_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"content": "v1 Task", "project_id": "6g382hF2W96x2hvr"}' \
https://api.todoist.com/api/v1/tasks
curl -H "Authorization: Bearer $TODOIST_API_TOKEN" \
"https://api.todoist.com/api/v1/tasks/completed/by_completion_date?since=2026-03-01T00:00:00Z&until=2026-03-04T23:59:59Z" | jq .items
curl -H "Authorization: Bearer $TODOIST_API_TOKEN" https://api.todoist.com/rest/v2/projects
curl -H "Authorization: Bearer $TODOIST_API_TOKEN" "https://api.todoist.com/rest/v2/sections?project_id=<project_id>"