> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.todoist.core.UpdateTask

- Component: `appmixer.todoist.core.UpdateTask`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.todoist 1.1.3](https://connectors.appmixer.com/connector/appmixer.todoist/1.1.3.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.todoist/1.1.3/component/appmixer.todoist.core.UpdateTask>

Update an existing task.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Task ID (`taskId`) | text | The ID of the task to update. |
| Content (`content`) | text | The content of the task. |
| Description (`description`) | textarea | A description for the task. |
| Labels (`labels`) | text | Comma-separated list of label names. |
| Priority (`priority`) | select | The priority of the task (1-4). |
| Due String (`dueString`) | text | Human-readable due date, e.g., 'tomorrow at 12:00'. |
| Due Date (`dueDate`) | date-time | Specific date for the task (date only). |
| Due Datetime (`dueDatetime`) | date-time | Specific date and time for the task. |
| Due Language (`dueLang`) | select | 2-letter code for parsing due_string. |
| Assignee ID (`assigneeId`) | text | The ID of the user to assign the task to. |
| Duration (`duration`) | number | A positive integer for the duration. |
| Duration Unit (`durationUnit`) | select | The unit of time for the duration. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| ID (`id`) | string | - |
| Assigner ID (`assigner_id`) | string | - |
| Assignee ID (`assignee_id`) | string | - |
| Project ID (`project_id`) | string | - |
| Section ID (`section_id`) | string | - |
| Parent ID (`parent_id`) | string | - |
| Order (`order`) | integer | - |
| Content (`content`) | string | - |
| Description (`description`) | string | - |
| Is Completed (`is_completed`) | boolean | - |
| Labels (`labels`) | array | - |
| Priority (`priority`) | integer | - |
| Comment Count (`comment_count`) | integer | - |
| Creator ID (`creator_id`) | string | - |
| Created At (`created_at`) | string | - |
| Due (`due`) | object | - |
| Duration (`duration`) | object | - |
| URL (`url`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.todoist.core.UpdateTask",
  "author": "Appmixer <info@appmixer.com>",
  "description": "Update an existing task.",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:todoist"
  },
  "quota": {
    "manager": "appmixer:todoist",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "taskId": {
            "type": "string"
          },
          "content": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "labels": {
            "type": "string"
          },
          "priority": {
            "type": "number"
          },
          "dueString": {
            "type": "string"
          },
          "dueDate": {
            "type": "string",
            "format": "date"
          },
          "dueDatetime": {
            "type": "string",
            "format": "date-time"
          },
          "dueLang": {
            "type": "string"
          },
          "assigneeId": {
            "type": "string"
          },
          "duration": {
            "type": "number"
          },
          "durationUnit": {
            "type": "string"
          }
        },
        "required": [
          "taskId"
        ]
      },
      "inspector": {
        "inputs": {
          "taskId": {
            "type": "text",
            "label": "Task ID",
            "tooltip": "The ID of the task to update.",
            "index": 1
          },
          "content": {
            "type": "text",
            "label": "Content",
            "tooltip": "The content of the task.",
            "index": 2
          },
          "description": {
            "type": "textarea",
            "label": "Description",
            "tooltip": "A description for the task.",
            "index": 3
          },
          "labels": {
            "type": "text",
            "label": "Labels",
            "tooltip": "Comma-separated list of label names.",
            "index": 4
          },
          "priority": {
            "type": "select",
            "label": "Priority",
            "tooltip": "The priority of the task (1-4).",
            "index": 5,
            "options": [
              {
                "label": "Priority 1 (Highest)",
                "value": 4
              },
              {
                "label": "Priority 2",
                "value": 3
              },
              {
                "label": "Priority 3",
                "value": 2
              },
              {
                "label": "Priority 4 (Lowest)",
                "value": 1
              }
            ]
          },
          "dueString": {
            "type": "text",
            "label": "Due String",
            "tooltip": "Human-readable due date, e.g., 'tomorrow at 12:00'.",
            "index": 6
          },
          "dueDate": {
            "type": "date-time",
            "label": "Due Date",
            "tooltip": "Specific date for the task (date only).",
            "index": 7,
            "config": {
              "enableTime": false
            }
          },
          "dueDatetime": {
            "type": "date-time",
            "label": "Due Datetime",
            "tooltip": "Specific date and time for the task.",
            "index": 8
          },
          "dueLang": {
            "type": "select",
            "label": "Due Language",
            "tooltip": "2-letter code for parsing due_string.",
            "index": 9,
            "options": [
              {
                "label": "English",
                "value": "en"
              },
              {
                "label": "Danish",
                "value": "da"
              },
              {
                "label": "German",
                "value": "de"
              },
              {
                "label": "Spanish",
                "value": "es"
              },
              {
                "label": "French",
                "value": "fr"
              },
              {
                "label": "Italian",
                "value": "it"
              },
              {
                "label": "Japanese",
                "value": "ja"
              },
              {
                "label": "Korean",
                "value": "ko"
              },
              {
                "label": "Dutch",
                "value": "nl"
              },
              {
                "label": "Polish",
                "value": "pl"
              },
              {
                "label": "Portuguese",
                "value": "pt"
              },
              {
                "label": "Russian",
                "value": "ru"
              },
              {
                "label": "Swedish",
                "value": "sv"
              },
              {
                "label": "Turkish",
                "value": "tr"
              },
              {
                "label": "Chinese",
                "value": "zh"
              }
            ]
          },
          "assigneeId": {
            "type": "text",
            "label": "Assignee ID",
            "tooltip": "The ID of the user to assign the task to.",
            "index": 10
          },
          "duration": {
            "type": "number",
            "label": "Duration",
            "tooltip": "A positive integer for the duration.",
            "index": 11
          },
          "durationUnit": {
            "type": "select",
            "label": "Duration Unit",
            "tooltip": "The unit of time for the duration.",
            "index": 12,
            "options": [
              {
                "label": "Minutes",
                "value": "minute"
              },
              {
                "label": "Days",
                "value": "day"
              }
            ]
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "schema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "title": "ID"
          },
          "assigner_id": {
            "type": "string",
            "title": "Assigner ID"
          },
          "assignee_id": {
            "type": "string",
            "title": "Assignee ID"
          },
          "project_id": {
            "type": "string",
            "title": "Project ID"
          },
          "section_id": {
            "type": "string",
            "title": "Section ID"
          },
          "parent_id": {
            "type": "string",
            "title": "Parent ID"
          },
          "order": {
            "type": "integer",
            "title": "Order"
          },
          "content": {
            "type": "string",
            "title": "Content"
          },
          "description": {
            "type": "string",
            "title": "Description"
          },
          "is_completed": {
            "type": "boolean",
            "title": "Is Completed"
          },
          "labels": {
            "type": "array",
            "title": "Labels",
            "items": {
              "type": "string"
            }
          },
          "priority": {
            "type": "integer",
            "title": "Priority"
          },
          "comment_count": {
            "type": "integer",
            "title": "Comment Count"
          },
          "creator_id": {
            "type": "string",
            "title": "Creator ID"
          },
          "created_at": {
            "type": "string",
            "title": "Created At"
          },
          "due": {
            "type": "object",
            "title": "Due",
            "properties": {
              "date": {
                "type": "string",
                "title": "Due Date"
              },
              "string": {
                "type": "string",
                "title": "Due String"
              },
              "is_recurring": {
                "type": "boolean",
                "title": "Due Is Recurring"
              },
              "datetime": {
                "type": "string",
                "title": "Due Datetime"
              },
              "timezone": {
                "type": "string",
                "title": "Due Timezone"
              }
            }
          },
          "duration": {
            "type": "object",
            "title": "Duration",
            "properties": {
              "amount": {
                "type": "integer",
                "title": "Duration Amount"
              },
              "unit": {
                "type": "string",
                "title": "Duration Unit"
              }
            }
          },
          "url": {
            "type": "string",
            "title": "URL"
          }
        },
        "example": {
          "id": "9907445074",
          "assigner_id": "51203487",
          "assignee_id": "57023439",
          "project_id": "2365437921",
          "section_id": "174838504",
          "parent_id": "9907445073",
          "order": 1,
          "content": "Review quarterly report",
          "description": "Check all sections before submission",
          "is_completed": false,
          "labels": [
            "work",
            "important"
          ],
          "priority": 2,
          "comment_count": 0,
          "creator_id": "57023438",
          "created_at": "2026-01-12T07:57:25Z",
          "due": {
            "date": "2026-01-15",
            "string": "tomorrow at 10am",
            "is_recurring": false,
            "datetime": "2026-01-15T10:00:00",
            "timezone": "America/New_York"
          },
          "duration": {
            "amount": 30,
            "unit": "minute"
          },
          "url": "https://app.todoist.com/app/task/9907445074"
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
