---
title: "Create a comment"
method: POST
path: "/topics/{owner}/{topicUuid}/comments"
tags: ["topics and comments - resource"]
---

# Create a comment

`POST /topics/{owner}/{topicUuid}/comments`

This API enables users to add a comment to a specific topic, provided they have access permissions. This POST request requires the owner's ID and the topic's UUID, along with the comment content, to successfully create and store the comment.

## Path parameters

- `owner` string, required
- `topicUuid` string, uuid, required

## Request body

- PublicCommentDto
  - `body` string — Body content of the comment.
  - `commentid` string — Comment id generated while creating a comment. Returned for reference but must be provided through URL only.
  - `owner` string — An organization owning a comment. Returned for reference but must be provided through URL only.
  - `topicUuid` string, uuid — Topic unique id stored along comments. Returned for reference but must be provided through URL only.

## Response `200`

default response

- PublicCommentDto
  - `body` string — Body content of the comment.
  - `commentid` string — Comment id generated while creating a comment. Returned for reference but must be provided through URL only.
  - `owner` string — An organization owning a comment. Returned for reference but must be provided through URL only.
  - `topicUuid` string, uuid — Topic unique id stored along comments. Returned for reference but must be provided through URL only.

---

[API](https://skmtc.net/data/apis/data-world-public-api.md) · [All operations](https://skmtc.net/data/apis/data-world-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/data/data-world-public-api/versions/0a0cb1f94dad/schema)
