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

# Get comment

> Current implementation returns comments for the page associated with a comment.

Returns comments for a specific page context. The current backend implementation does not return a single comment resource by ID.

<Warning>
  Current backend behaviour requires `site_id` and `page_url` query parameters and returns a paginated comment list for that page.
</Warning>

## Path parameters

<ParamField path="id" type="string" required>
  UUID from the routed URL. The current implementation does not use this value to fetch a single resource.
</ParamField>

## Query parameters

<ParamField query="site_id" type="string" required>
  UUID of the site.
</ParamField>

<ParamField query="page_url" type="string" required>
  Full page URL to fetch comments for.
</ParamField>

<ParamField query="device_type" type="string">
  Optional device type filter: `DESKTOP`, `MOBILE`, or `TABLET`.
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "data": {
      "data": [
        {
          "id": "990e8400-e29b-41d4-a716-446655440004",
          "content": "The header looks misaligned on mobile.",
          "status": "OPEN",
          "priority": "HIGH",
          "page_url": "https://example.com/home",
          "created_by": { "id": "...", "name": "Jane Smith" },
          "assigned_to": null,
          "created_at": "2026-03-01T10:00:00Z"
        }
      ],
      "current_page": 1,
      "total": 1
    }
  }
  ```
</ResponseExample>
