---
title: "Create a workflow comment"
method: POST
path: "/api/v1/workflow/{contentletId}/comments"
tags: ["Workflow"]
---

# Create a workflow comment

`POST /api/v1/workflow/{contentletId}/comments`

Create a [workflow comment].

 Returns created workflow comment on success.

## Path parameters

- `contentletId` string, required

## Query parameters

- `language` string

## Request body

- WorkflowCommentForm
  - `comment` string

## Response `200`

Copied workflow comment successfully

- ResponseEntityWorkflowCommentView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` WorkflowTimelineItemView
    - `createdDate` string, date-time
    - `roleId` string
    - `postedBy` string
    - `commentDescription` string
    - `taskId` string
    - `type` string
    - `step` object
    - `action` object
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `400` — Bad request
- `401` — Invalid User
- `403` — Forbidden
- `406` — Not Acceptable
- `415` — Unsupported Media Type
- `500` — Internal Server Error

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
