---
title: "Comments under this target, read live from the network"
method: GET
path: "/posts/{id}/targets/{targetId}/comments"
tags: ["Targets"]
---

# Comments under this target, read live from the network

`GET /posts/{id}/targets/{targetId}/comments`

## Request

- Base URL: `https://preflight.social/v1`
- URL: `https://preflight.social/v1/posts/{id}/targets/{targetId}/comments`
- Auth: HTTP bearer

## Response `200`

The comments and what the account may do with them.

- object
  - `data` Comment[]
    - `id` string
    - `author` string, nullable
    - `text` string
    - `createdAt` string, date-time, nullable
    - `own` boolean: Written by the connected account.
    - `hidden` boolean
    - `likeCount` integer, nullable
  - `supported` boolean
  - `can` object
    - `reply` boolean
    - `edit` boolean
    - `hide` boolean
    - `like` boolean
    - `delete` boolean

## Other responses

- `401`: Missing, expired or unrecognised key.
- `404`: No such post, file or account in this workspace.

---

[API](https://skmtc.dev/preflight/apis/preflight-api.md) · [All operations](https://skmtc.dev/preflight/apis/preflight-api/llms.txt) · [OpenAPI document](https://skmtc.dev/preflight/apis/preflight-api/revisions/45ae7944ce71?raw)
