Repository navigation
Description
The shared Todoist task-creation path in backend/utils/task_integrations_ops.py still posts to https://api.todoist.com/rest/v2/tasks. The HTTP export route delegates to this function, which is also documented as the auto-sync implementation.
Todoist's current API contract documents task creation at POST https://api.todoist.com/api/v1/tasks. On September 8, an unauthenticated GET of the old route returned HTTP 410 with:
This endpoint is deprecated.
If you're using the API directly, please update your use case to rely on the new API endpoints, available under /api/v1/ prefixes.
The corresponding v1 GET returned HTTP 401 without authentication. These are public endpoint-retirement checks, not an authenticated task-creation or deployed Omi reproduction.
I also ran four offline checks using the unchanged production create_task_internal function and an injected fake HTTP client. All three response cases still request the retired v2 URL: a stubbed 410 produces api_error, while 200/201 controls propagate the task ID. A missing-token control makes no request. No live task was created, and no implementation or repository-preflight result is claimed.
Proposed focused scope:
- Migrate Todoist task creation to the supported v1 route, preserving existing content, description, priority and date-only behavior.
- Verify successful string-ID propagation and provider-error behavior against the v1 contract.
- Add hermetic production-function regressions for the v1 POST URL/payload, successful response, provider rejection and missing-token behavior; update affected backend task-integration fixtures.
- Run the relevant contribution checks before a PR. OAuth, time-of-day changes, other providers and general delivery retries remain out of scope.
Duplicate checks covered Todoist, the exact old URL, migration/deprecation terms and the shared source path. I reviewed all changed filenames in open #9084, #10646 and #8816. #10646 touches this function's provider error/identity handling but leaves the v2 URL unchanged; this proposal would coordinate with that work, not duplicate its improvements. No open endpoint-migration fix appeared in those checks.
@josancamon19, would you accept this narrow migration as a paid bounty under the contribution guide? Please confirm the cash reward and acceptance criteria before implementation. This is a proposed bounty, not an approved award.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsIn review
Activity
Nofates commentedon Sep 8, 2026
Implemented in PR #13166 — migrated Todoist task creation from the retired
rest/v2/tasks(HTTP 410) toapi/v1/tasks, payload unchanged (verified compatible with the current API docs).