Todoist
API actions for the Todoist integration.
Todoist
Create and manage tasks, comments, and projects in Todoist.
Add a task comment
Add a comment to a Todoist task.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
task_id | string | Yes | Task ID to comment on. |
content | string | Yes | Comment text. |
Response
{
"content": "Don't forget to get organic milk",
"id": "123456789",
"task_id": "2995104339"
}Close a task
Close a Todoist task.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
task_id | string | Yes | Task ID to close. |
Response
{
"status": "closed"
}Create a task
Create a new Todoist task, with an optional project and due date.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
content | string | Yes | The task text, for example, Buy milk. |
project_id | string | No | The ID of the project to add the task to. |
due_string | string | No | When the task is due, in plain words, for example, tomorrow or next Monday at 3pm. |
Response
{
"content": "Buy milk",
"due": {
"date": "2024-01-20",
"string": "tomorrow"
},
"id": "2995104339",
"project_id": "2203306141"
}List projects
List all of your Todoist projects.
Response
[
{
"color": "blue",
"id": "2203306141",
"name": "Shopping"
}
]Reopen a task
Reopen a completed Todoist task.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
task_id | string | Yes | Task ID to reopen. |
Response
{
"status": "reopened"
}