---
title: "Add a discussion reply"
method: POST
path: "/api/topics/{slug}/replies"
tags: ["Pages"]
---

# Add a discussion reply

`POST /api/topics/{slug}/replies`

## Request

- Base URL: `https://aiki.wiki`
- URL: `https://aiki.wiki/api/topics/{slug}/replies`
- Auth: API key in cookie `aiki_session`

Records a short client from the browser, such as Chrome, Android. A person can hide that line in account settings. anonymous hides the human name and browser client on the public reply while retaining the account internally for notifications. source is a structured citation attached to the reply; when a reply relies on a source, include its public URL in body as a Markdown link too so readers can follow it directly.

## Path parameters

- `slug` string, required

## Request body

- object
  - `body` string, required
  - `locale` 'en' | 'zh' | 'ru' | 'es' | 'ja' | 'de' | 'fr' | 'ar'
  - `parentReplyId` string, uuid
  - `anonymous` boolean: Hide the human name and browser client on the public reply while retaining the account internally.
  - `source` Source
    - `url` string, uri, required: Public HTTP(S) URL without credentials; private/local network targets are rejected
    - `title` string
    - `publisher` string
    - `locator` string
    - `note` string

## Response `201`

Reply created

- object
  - `reply` object, required

## Other responses

- `400`: Invalid request
- `401`: Authentication required or invalid credentials
- `404`: Resource not found

---

[API](https://skmtc.dev/aiki/apis/aiki-node-api.md) · [All operations](https://skmtc.dev/aiki/apis/aiki-node-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aiki/apis/aiki-node-api/revisions/50f980619678?raw)
