ByteChef LogoByteChef

Todoist

Todoist is a task management application that helps users organize and prioritize their to-do lists.

Categories: Productivity and Collaboration

Type: todoist/v1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameLabelTypeDescriptionRequired
clientIdClient IdSTRINGtrue
clientSecretClient SecretSTRINGtrue

Connection Setup

Connect Todoist to ByteChef using OAuth 2.0 (Authorization Code).

Create a Todoist OAuth app

  1. Open the Todoist App Management Console.
  2. Click on Add new integration.
  3. Enter an app name (for example, ByteChef Integration). Click Create App.
  4. Add the ByteChef OAuth redirect (callback) URL(s):
    • Cloud: https://app.bytechef.io/callback
    • Local development: http://127.0.0.1:5173/callback
  5. Click Save settings.
  6. Copy the Client ID and Client secret.

Actions

Create Project

Name: createProject

Creates a new project.

Properties

NameLabelTypeDescriptionRequired
nameNameSTRINGName of the project.true
descriptionDescriptionSTRINGDescription of the project.false
parent_idParent Project IDSTRINGID of the parent project.false
colorColorSTRING
Options beryy_red, red, orange, yellow, olive_green, lime_green, green, mint_green, teal, sky_blue, light_blue, blue, grape, violet, lavender, magenta, salmon, charcoal, grey, taupe
Color of the project icon.false
is_favoriteIs Project a Favorite?BOOLEAN
Options true, false
Whether the project is a favorite.false
workspace_idWorkspace IDINTEGERID of the workspace. If provided, creates a workspace project instead of a personal project.false

Example JSON Structure

{
  "label" : "Create Project",
  "name" : "createProject",
  "parameters" : {
    "name" : "",
    "description" : "",
    "parent_id" : "",
    "color" : "",
    "is_favorite" : false,
    "workspace_id" : 1
  },
  "type" : "todoist/v1/createProject"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGID of the project.
nameSTRINGName of the project.
descriptionSTRINGDescription of the project.
colorSTRINGColor of the project icon.
is_favoriteSTRINGWhether the project is a favorite.
urlSTRINGURL of the project.
parent_idSTRINGID of the parent project.

Output Example

{
  "id" : "",
  "name" : "",
  "description" : "",
  "color" : "",
  "is_favorite" : "",
  "url" : "",
  "parent_id" : ""
}

Create Task

Name: createTask

Creates a new task.

Properties

NameLabelTypeDescriptionRequired
contentContentSTRINGTask content.true
descriptionDescriptionSTRINGA description for the task.false
project_idProject IDSTRINGID of the project to add the task to. If not set, task is put to user's Inbox.false
priorityPriorityINTEGER
Options 1, 2, 3, 4
Task priority from 1 (normal) to 4 (urgent).false
labelsLabelsARRAY
Items [STRING]
List of labels to be applied to the task.false
section_idSection IDSTRING
Depends On project_id
ID of the section to add the task to.false
parent_idParent Task IDSTRINGID of the parent task.false

Example JSON Structure

{
  "label" : "Create Task",
  "name" : "createTask",
  "parameters" : {
    "content" : "",
    "description" : "",
    "project_id" : "",
    "priority" : 1,
    "labels" : [ "" ],
    "section_id" : "",
    "parent_id" : ""
  },
  "type" : "todoist/v1/createTask"
}

Output

Type: OBJECT

Properties

NameTypeDescription
user_idSTRINGID of the user.
idSTRINGID of the task.
project_idSTRINGID of the project.
section_idSTRINGID of the section.
parent_idSTRINGID of the parent task.
labelsARRAY
Items [STRING]
List of labels applied to the task.
checkedBOOLEAN
Options true, false
Whether the task is checked.
is_deletedBOOLEAN
Options true, false
Whether the task is deleted.
contentSTRINGTask content.
descriptionSTRINGTask description.
priorityINTEGERTask priority.

Output Example

{
  "user_id" : "",
  "id" : "",
  "project_id" : "",
  "section_id" : "",
  "parent_id" : "",
  "labels" : [ "" ],
  "checked" : false,
  "is_deleted" : false,
  "content" : "",
  "description" : "",
  "priority" : 1
}

Mark Task as Completed

Name: markTaskCompleted

Marks a task as being completed.

Properties

NameLabelTypeDescriptionRequired
taskIdTask IDSTRINGID of the task to be closed.true

Example JSON Structure

{
  "label" : "Mark Task as Completed",
  "name" : "markTaskCompleted",
  "parameters" : {
    "taskId" : ""
  },
  "type" : "todoist/v1/markTaskCompleted"
}

Output

This action does not produce any output.

What to do if your action is not listed here?

If this component doesn't have the action you need, you can use Custom Action to create your own. Custom Actions empower you to define HTTP requests tailored to your specific requirements, allowing for greater flexibility in integrating with external services or APIs.

To create a Custom Action, simply specify the desired HTTP method, path, and any necessary parameters. This way, you can extend the functionality of your component beyond the predefined actions, ensuring that you can meet all your integration needs effectively.

How is this guide?

Last updated on

On this page