---
title: "Post a comment"
method: POST
path: "/api/comments"
---

# Post a comment

`POST /api/comments`

## Request

- Base URL: `https://radix.wiki`
- URL: `https://radix.wiki/api/comments`
- Auth: HTTP bearer

## Request body

- object
  - `pageId` string, required
  - `content` string, required
  - `parentId` string: The comment this replies to

## Response `201`

Comment created

## Other responses

- `401`: Missing or invalid bearer token

---

[API](https://skmtc.dev/radix/apis/radix-wiki-api.md) · [All operations](https://skmtc.dev/radix/apis/radix-wiki-api/llms.txt) · [OpenAPI document](https://skmtc.dev/radix/apis/radix-wiki-api/revisions/2489ffad8c96?raw)
