Questions tagged [todoist]

Todoist API (aka Sync API) provides support for efficient data sync between clients and Todoist. All Sync API requests share the same endpoint URL: https://todoist.com/API/v7/sync. Sync API requests should be made in HTTP POST (application/x-www-form-urlencoded). Sync API responses, including errors, will be returned in JSON.

Todoist API (aka Sync API) provides support for efficient data sync between clients and Todoist.

All Sync API requests share the same endpoint URL: https://todoist.com/API/v7/sync. Sync API requests should be made in HTTP POST (application/x-www-form-urlencoded). Sync API responses, including errors, will be returned in JSON.

Sync API supports the following features:

  • Batching, reading and writing of multiple resources can be done in a single HTTP request. Batch requests help clients reduce the number of network calls needed to sync resources.
  • Incremental sync, you only retrieve data that are updated since the last time you performed a sync request.
36 questions
6
votes
1 answer

Todoist api get all completed tasks?

Im using todoists rest api to track my own data but it seems like it only allows you to fetch active tasks? I was looking at filters and thinking they may help me but there is no documentation on this. Im trying to fetch all tasks completed on a…
Sid
  • 846
  • 3
  • 12
  • 25
5
votes
0 answers

Thunderbird tasks api

Is there a way to hook into the tasks in Thunderbird as you can do with other parts of the application by addon/webextension? As far, as I understand it, tasks are part of the calender, which, in return, belongs to the lightning addon - is that, why…
3
votes
2 answers

Auth with todoist API: invalid_grant

I'm adding the ability to post todos to my Todist list via a simple app. At the moment I am getting the response "error"=>"invalid_grant" when exchanging my code for an access_token. I'm unsure exactly what 'invalid_grant' is referring too in this…
tonyedwardspz
  • 1,707
  • 2
  • 22
  • 45
2
votes
1 answer

How to create todoist task using todoist api v7?

I'm trying to create a task in todoist but cant seem to do so According to this todoist documentation, the below should work for creating a todoist task $ curl https://todoist.com/api/v7/sync \ -d token=0123456789abcdef0123456789abcdef01234567…
Chris
  • 5,444
  • 16
  • 63
  • 119
2
votes
2 answers

PHP Curl / Todoist / Adding Item

I am trying to add an item with the todoist API using PHP Curl according to this: https://developer.todoist.com/?shell#add-an-item It quotes this code: $ curl https://todoist.com/API/v6/sync -X POST \ -d…
user2572639
  • 55
  • 1
  • 11
1
vote
1 answer

Despite using 'onChange', why my input looses focus after any key press?

I've just started learning React and I'm trying to build a todo list including edit button. I defined an input inside tags through a condition in component. but when i click on edit icon to rewrite a task, with the first keypress the focus is…
Sahba Rez
  • 13
  • 2
1
vote
1 answer

Unable to edit due dates

I am using Todoist's Sync API to manage my tasks. I've successfully created tasks and add Due dates. But not able to update or remove due dates from tasks. I'm using the following: import todoist api =…
BlueFrog
  • 131
  • 1
  • 8
1
vote
3 answers

How do I remove the due date from a Todoist item

Using the REST API, I have no issues creating and updating task items in Todoist. However, I can't seem to remove a due date completely from an item. This works for setting the due date: {"due_date":"2020-01-20"} I have tried the following for…
fischgeek
  • 688
  • 1
  • 5
  • 18
1
vote
1 answer

Python "in" keyword is raising KeyError

In order to check the existence of a key in a TodoistAPI class I use the "in" keyword. However, it causes a KeyError. I isolated the code fragments to check what exactly causes the KeyError and which inputs are provided. api =…
5t4cktr4c3
  • 151
  • 1
  • 10
1
vote
1 answer

Why is this weird ID returned when using todoist python api?

This question is regarding the use of todoist python api. After adding an item (that's what a task is called in the api) I get these weird looking IDs. I say weird because a regular id is just an integer. But these IDs are not usable in anyway, I…
jason
  • 3,471
  • 6
  • 30
  • 43
1
vote
1 answer

using todoist python api to add a recurring task

I am trying to add a recurring task to todoist using the python api. Official API Doc: https://developer.todoist.com/sync/v7/#add-two-new-tasks Official Python library: https://github.com/Doist/todoist-python Other Python library:…
user391986
  • 29,536
  • 39
  • 126
  • 205
1
vote
2 answers

HTTP error "AUTH_CSFR_ERROR" with POST to Todoist API via Google Apps Script

I'm attempting to query items out of the Todoist API from Google Apps Script, mimicking a curl POST. I originally tried to make OAuth2 work, but tokens were not persistent, and I instead opted for the API's method of using individual API tokens to…
Nick S
  • 41
  • 4
1
vote
0 answers

ToDoIst integration

im trying to integrate todoist with my platform, so using the current API of todoist i was able to make a oauth2 request. '########################', …
0
votes
1 answer

Invalid CSRF token in the Todoist SYNC API integrated with Google Apps Scrips

What I'm trying to accomplish here is fetching all the tasks for the day and putting them in a Google Sheets file, so that I can track my progress. I tried mimicking a cURL request (the sample one for all projects) and after failing a few attempts…
0
votes
0 answers

When I refresh my page To do list Elements of To do list Disappear I want that my Elements of To do list does not Disappear

When I refresh my page To do list Elements of To do list Disappear I want any easiest methode that If I refresh or reload our page my to do list data dont Disappear When I refresh my page To do list Elements of To do list Disappear I want any…
Sanaullah
  • 1
  • 1
1
2 3