---
raw: true
search:
  tags:
    - Spaces
    - POST
seo:
  description: >-
    Adds a reply to a comment thread; mentions… Reference for the POST
    /v1/spaces/{spaceId}/comments/{threadId}/replies endpoint in the Spacefast
    Partner API.
sidebar:
  label: Reply to a comment
  badge: POST
title: Reply to a comment
type: openapi-operation
---
Adds a reply to a comment thread; `mentions` notifies the people you name. Returns the reply in the same shape a thread's `comments` use.

`POST /v1/spaces/{spaceId}/comments/{threadId}/replies`

**Request body** (`application/json`, required)

- `body` (string, required)
- `mentions` (string[]) — Spacefast user ids to @mention. Each must be on the Space's team and able to open it; \`GET /v1/spaces/{spaceId}/comments/mentionable\` lists who qualifies. Mentioned people are notified.
- `idempotencyKey` (string)

Request body example:

```json
{
  "body": "string",
  "mentions": [
    "string"
  ],
  "idempotencyKey": "string"
}
```

**Responses**

- `201` — Response for status 201
- `default` — Problem details (RFC 9457). Any 4xx/5xx response is one \`application/problem+json\` document.

Response example, 201:

```json
{
  "$schema": "http://example.com",
  "data": {
    "status": "inserted",
    "comment": {
      "attachments": [
        {
          "id": "string",
          "name": "string",
          "contentType": "string",
          "size": 1,
          "kind": "screenshot",
          "crop": {
            "x": 0,
            "y": 0,
            "width": 0,
            "height": 0
          },
          "url": "string"
        }
      ],
      "mentions": [
        "string"
      ],
      "property1": null,
      "property2": null
    }
  }
}
```
