# List Page Comments

`GET /pages/{pageId}/comments`
## Authentication

Use one of the following authentication alternatives:

- **API token** (`bearerToken`) : Send a named API token in the Authorization header. Send it in the `Authorization: Bearer <token>` header.
- **Better Auth browser session** (`browserSession`) : Use the Better Auth session cookie from a signed-in browser session. Send it in the `better-auth.session_token` cookie.
## Token permissions

API tokens must include `pages:comment`.
## Parameters

- `pageId` (path, required): The UUID of the page.
- `status` (query, optional): Filter by thread status. Defaults to open.
- `cursor` (query, optional): Cursor returned by a previous list response.
- `limit` (query, optional): Number of threads to return. Defaults to 50 and cannot exceed 100.
## Responses

### 200

The requested comment data.


### `application/json`

```json
{
  "data": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "pageId": "00000000-0000-0000-0000-000000000000",
      "anchor": {
        "quote": "string",
        "prefix": "string",
        "suffix": "string"
      },
      "status": "open",
      "createdBy": "00000000-0000-0000-0000-000000000000",
      "createdAt": "string",
      "updatedAt": "string",
      "resolvedBy": "00000000-0000-0000-0000-000000000000",
      "resolvedAt": "string",
      "comments": [
        {
          "id": "00000000-0000-0000-0000-000000000000",
          "threadId": "00000000-0000-0000-0000-000000000000",
          "authorId": "00000000-0000-0000-0000-000000000000",
          "authorName": "string",
          "authorImage": "string",
          "body": "string",
          "createdAt": "string",
          "updatedAt": "string",
          "deletedAt": "string"
        }
      ]
    }
  ],
  "nextCursor": "string"
}
```

### 403

The API token is missing a required scope: pages:comment.


### `application/json`

```json
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
```
