+ Add Question

Get Completed Date from API

RC

I am using the API to pull my completed todo items but I don't see a field to show the date the item was completed. According to the docs there is a due date but I don't see completed date. How can I get this info?
Thanks

All responses

Brendon Wadey  staff
Replied on Apr 16, 2014 - 02:05 UTC

Hi Russ,

That's correct. As for outside of the API, the Todoist website, once a task is completed, there is no date attached to it. I am not 100% on the API, but I assume it's the same situation, no way to grab completed date.

I will pass this along to the developer.

Regards,
Brendon.

RC
Russ Collins
Replied on Apr 16, 2014 - 16:52 UTC

If I go look at my completed tasks I can see the date and time they were completed so that information must be saved. I was just hoping I could get that date from the API through getCompletedItems.

David Trey  staff
Replied on Apr 16, 2014 - 17:47 UTC

Hello Russ,

Unfortunately, our API doesn't give access to this date yet, but we'll consider enabling it in the future.


Best regards,
David

Allan Freitas
Replied on Apr 17, 2014 - 14:39 UTC

Hi,
I need it too.

I've created an app using the API and this info is crucial for reports.

EH
Emily Howatt  premium
Replied on Jan 07, 2015 - 00:57 UTC

Hi,

This has been dormant for a while, but I'd like to add my vote for this anyway. I'd like to be able to extract the tasks I've completed in the last week to simplify an ongoing reporting process. I can see which tasks I've completed in the last two weeks by date on the website.

Thanks!

kersublatest  premium
Replied on Feb 08, 2015 - 06:11 UTC

I second this. Just an additional `date_checked` field shouldn't be that hard?

Sergey Zwezdin  premium
Replied on May 18, 2015 - 05:30 UTC

Initially it was reported more than 1 year ago.

Any luck with it?

Eleftherios Chatzimparmpas  staff
Replied on May 18, 2015 - 09:25 UTC

Hello,

There's a method in the v6 API that is called "get_all_completed_items", which returns the items that have been completed, and among the properties that are returned, there is also "completed_date", which is the date that the item was completed. For more details on this method, please have a look at:

https://developer.todoist.com/#get-all-completed-items

Unfortunately, there's a drawback with this method: it doesn't return completed items in shared projects. The "get_completed_items" that you mentioned does return those, but on the other hand you don't get the completed date as you already have noticed.

We're very sorry for this situation, and we already have plans on solving these problems, and on improving retrieval of completed items in general, and we hope to be able to make this functionality available to you soon.


Regards,
Eleftherios

Sergey Zwezdin  premium
Replied on May 18, 2015 - 10:11 UTC

Thanks