# Todoist import completed tasks

**URL:** <https://community.vikunja.io/t/todoist-import-completed-tasks/771>\
**Category:** Support\
**Created:** [21 August 2022 13:41 UTC](https://community.vikunja.io/t/todoist-import-completed-tasks/771 "2022-08-21T13:41:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![km1uk](https://community.vikunja.io/letter_avatar_proxy/v4/letter/k/839c29/32.png) [@km1uk](https://community.vikunja.io/u/km1uk)\
**Post date:** [21 August 2022 13:41 UTC](https://community.vikunja.io/t/todoist-import-completed-tasks/771/1 "2022-08-21T13:41:44Z")

</div>

Is it possible to import Completed tasks from Todoist?

A quick glance suggests that only incomplete tasks get imported when using the migration tool, but it would be great to import complete tasks too to fully move away from Todoist.

---

<div class="post-metadata">

**Author:** ![kolaente](https://community.vikunja.io/user_avatar/community.vikunja.io/kolaente/32/5_2.png) [@kolaente](https://community.vikunja.io/u/kolaente)\
**Post date:** [1 September 2022 11:59 UTC](https://community.vikunja.io/t/todoist-import-completed-tasks/771/2 "2022-09-01T11:59:34Z")

</div>

The problem here is todoist does not expose completed tasks via their api. Last time I checked there are hacks around this but even those don’t work for all tasks. Happy for any hints on how to achieve this.

---

<div class="post-metadata">

**Author:** ![km1uk](https://community.vikunja.io/letter_avatar_proxy/v4/letter/k/839c29/32.png) [@km1uk](https://community.vikunja.io/u/km1uk)\
**Post date:** [2 September 2022 08:38 UTC](https://community.vikunja.io/t/todoist-import-completed-tasks/771/3 "2022-09-02T08:38:18Z")

</div>

Thanks for the reply! I think Todoist expose completed tasks via their API (see here for an example [Sync API Reference | Todoist Developer](https://developer.todoist.com/sync/v9/#get-all-completed-items)) but requires having a subscription. I have one at the moment - happy to provide any real-world examples if this might help?

---

<div class="post-metadata">

**Author:** ![kolaente](https://community.vikunja.io/user_avatar/community.vikunja.io/kolaente/32/5_2.png) [@kolaente](https://community.vikunja.io/u/kolaente)\
**Post date:** [2 September 2022 14:21 UTC](https://community.vikunja.io/t/todoist-import-completed-tasks/771/4 "2022-09-02T14:21:57Z")

</div>

This makes a lot of sense, thanks for the pointer. I’ll try something to make this work and ping once I have something for you to test.

Thanks!

---

<div class="post-metadata">

**Author:** ![kolaente](https://community.vikunja.io/user_avatar/community.vikunja.io/kolaente/32/5_2.png) [@kolaente](https://community.vikunja.io/u/kolaente)\
**Post date:** [1 October 2022 17:29 UTC](https://community.vikunja.io/t/todoist-import-completed-tasks/771/5 "2022-10-01T17:29:58Z")

</div>

I’ve put something together in [aed560339b](https://kolaente.dev/vikunja/api/commit/aed560339bf578857eedeb34ff891eebe99eea73) - please check with the next unstable build if everything works as expected.
