Todoist has an API
Todoist has 2 APIs, a standard REST one for single calls and a special “sync” one for batching actions and syncing with the Todoist service. There’s a Python library for both flavours, and a JS one for the REST API. and of course you can use cURL or anything else to make raw requests too.
Sync docs and python client library , but this is no longer being updated
REST docs, Python SDK and Typescript SDK