---
title: "Create a takeaway comment"
method: POST
path: "/takeaways/{takeawayId}/comments"
tags: ["TakeawayComment"]
---

# Create a takeaway comment

`POST /takeaways/{takeawayId}/comments`

Create a new comment for a takeaway.

## Path parameters

- `takeawayId` integer, required

## Request body

- TakeawayCommentCreate
  - `mentionedAccountIds` integer[] — Account ids mentioned in the comment
  - `parentId` integer — Unique Id of the parent comment
  - `text` string, required — Comment text

## Response `201`

Created

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `423` — Locked
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api.md) · [All operations](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kameleoon/openapi-definition-for-automation-api/revisions/09f2abcea0b5/schema)
