> ## Documentation Index
> Fetch the complete documentation index at: https://docs.salesive.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get replies

> Retrieve replies to a specific comment.

## Request

```http theme={null}
GET /comments/replies/6a27d380289b87893fcbdd8e?page=1&limit=5
Authorization: Bearer {{token}}
x-shop-id: {{shopId}}
```

## Headers

| Header          | Type   | Description                                   |
| --------------- | ------ | --------------------------------------------- |
| `Authorization` | string | Provide the customer token as `Bearer <jwt>`. |
| `x-shop-id`     | string | Identify the shop.                            |

## Path parameters

| Parameter   | Type   | Required | Description                |
| ----------- | ------ | -------- | -------------------------- |
| `commentId` | string | Yes      | Parent comment identifier. |

## Query parameters

| Parameter | Type    | Description                    |
| --------- | ------- | ------------------------------ |
| `page`    | integer | Page number (default: 1).      |
| `limit`   | integer | Replies per page (default: 5). |

## Successful response

```json theme={null}
{
    "status": 200,
    "success": true,
    "message": "Replies retrieved successfully",
    "data": {
        "comments": [
            {
                "_id": "6a27d38e289b87893fcbddaa",
                "content": "Yes it does!",
                "image": null,
                "user": {
                    "_id": "69360693a7a8f7dc8ae32d6d",
                    "name": "Jane Smith",
                    "role": "user",
                    "avatar": "https://cdn.salesive.com/avatars/jane.jpg"
                },
                "product": "69fb494e51280f9f65d059ae",
                "shop": "68b8f52575da81b332af29f1",
                "parent": "6a27d380289b87893fcbdd8e",
                "likes": [],
                "dislikes": [],
                "likeCount": 0,
                "dislikeCount": 0,
                "replyCount": 0,
                "isDeleted": false,
                "createdAt": "2026-06-09T08:49:18.752Z",
                "updatedAt": "2026-06-09T08:49:18.752Z",
                "__v": 0
            }
        ],
        "total": 1,
        "replyCount": 1,
        "page": 1,
        "totalPages": 1
    }
}
```

## Error response

```json theme={null}
{
    "status": 404,
    "success": false,
    "message": "Comment not found",
    "data": {}
}
```


## OpenAPI

````yaml GET /comments/replies/{commentId}
openapi: 3.1.0
info:
  title: Salesive Store API
  description: >-
    REST interface for querying products, categories, and merchandising banners
    exposed by Salesive storefronts.
  version: 1.0.0
servers:
  - description: Production
    url: https://store.salesive.com/api/v1
security:
  - BearerAuth: []
    ShopIdHeader: []
paths:
  /comments/replies/{commentId}:
    get:
      summary: Get comment replies
      description: Retrieve replies to a specific comment.
      parameters:
        - $ref: '#/components/parameters/XShopIdHeader'
        - name: commentId
          in: path
          required: true
          schema:
            type: string
          description: Comment identifier
        - name: page
          in: query
          schema:
            type: integer
            default: 1
        - name: limit
          in: query
          schema:
            type: integer
            default: 5
      responses:
        '200':
          description: Replies retrieved successfully
components:
  parameters:
    XShopIdHeader:
      name: x-shop-id
      in: header
      description: >-
        Optional identifier that scopes responses to a specific storefront when
        the referer cannot be inferred.
      required: false
      schema:
        type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT issued by the Salesive Store API for authenticated shoppers.
    ShopIdHeader:
      type: apiKey
      in: header
      name: x-shop-id
      description: >-
        Optional storefront identifier sent as a header to scope responses to a
        specific shop. Try It requests remember this value once provided.

````