> ## 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.

# Reviews and comments

> Read product reviews and comments. The list endpoints are public and need no scope; fetching one by id is the app re-fetch for review and comment webhooks.

Product reviews and product comments are the two shopper-generated surfaces an
app can read. Both follow the same shape: a **public list** and a
**scope-gated single fetch**.

## The list is public

```http theme={null}
GET /api/v1/reviews
GET /api/v1/comments
```

Neither route authenticates an app token, and neither needs a scope. They return
what any anonymous storefront visitor already sees: published reviews and
comments for a product or the shop.

Do not read this as "my token was accepted". These routes are public content, and
they never return privileged data such as a reviewer's email or a hidden or
pending comment.

## The single fetch is gated

```http theme={null}
GET /api/v1/reviews/:id      # READ_REVIEWS
GET /api/v1/comments/:id     # WRITE_COMMENTS
```

This is the endpoint an app calls after receiving a `reviews/created` or a
comment event, to read the current state of the record the event named. It is
scoped to the store, so a review or comment from another store answers `404`.

> [!NOTE]
>
> Comments are gated by `WRITE_COMMENTS` rather than a read scope, because that
> is the only comment scope apps hold. The single fetch is a re-read for the
> webhook, not a broader read surface.

## Replying to a comment

```http theme={null}
POST /api/v1/comments/:id/reply
```

Needs `WRITE_COMMENTS`. The service scopes the parent comment to your store, so
an app can only reply to a comment on the store that installed it. The reply is
authored by the app, and it appears in the same thread the shopper sees.

> [!WARNING]
>
> A reply is public and shopper-visible. Never include internal notes, order
> details or anything the merchant has not chosen to share in a comment reply.

## Scopes

| Scope | Grants |
| - | - |
| `READ_REVIEWS` | `GET /reviews/:id`, and the `reviews/created` event |
| `WRITE_COMMENTS` | `GET /comments/:id`, `POST /comments/:id/reply`, and comment events |

Neither list endpoint requires a scope.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.