---
search:
  tags:
    - projects
    - POST
seo:
  description: >-
    Adds or updates a comment on a todo… Reference for the POST
    /projects/{projectId}/items/{itemId}/todos/{id}/comment endpoint in the
    Leadtime Public API API.
sidebar:
  badge: POST
  label: Add a comment to a todo in a project component item
title: Add a comment to a todo in a project component item
type: openapi-operation
---
Adds or updates a comment on a todo item within a project component item. Todos are checklist items that can be marked as complete and have comments. The comment content is provided in HTML or Markdown format and converted to internal IDoc format. Uses the processComponentsTodos permission, allowing users to comment on todos without full component edit access. The system automatically recalculates project conditions and sets the project configurationChanged flag after adding a comment.

<Operation source="api-reference" id="projectcomponentscontroller-addtodocomment" />
