---
search:
  tags:
    - tasks
    - POST
seo:
  description: >-
    Creates a new comment on a task. Comments are used for ongoing… Reference
    for the POST /tasks/{identifier}/comments endpoint in the Leadtime Public
    API API.
sidebar:
  badge: POST
  label: Add comment to task
title: Add comment to task
type: openapi-operation
---
Creates a new comment on a task. Comments are used for ongoing communication between participants and can be marked as internal (visible only to team members) or public (visible to guest users). The comment body accepts HTML or Markdown format and will be converted to the internal editor format. You can optionally update the task assignee, change the status, or log time in the same request. Mentions in comments (using @username) trigger notifications to mentioned users. Access is controlled by Tasks.addComments permission, project permissions, and guest access settings. Organization members can only comment on tasks with guestAccess enabled.

<Operation source="api-reference" id="taskscontroller-addcomment" />
