# List comments on a post

**`GET https://myagentmail.com/linkedin/posts/{postUrn}/comments`**

Group: LinkedIn — Posts
Operation ID: `linkedinListPostComments`

Fetch commenters on a LinkedIn post. Returns the engager array
(profile URN, name, headline, comment text), plus the total
reported by LinkedIn. Same helper the engagement signal uses
to enumerate commenters on tracked actor posts.

`postUrn` is the activity URN — `urn:li:activity:<id>`. URL-
encode it (the `:` characters need to be `%3A` in path
position).

Quota: one `engagement_poll` slot per call.


## Path parameters

- `postUrn` (string, required) — URL-encoded urn:li:activity:<id>

## Query parameters

- `sessionId` (string, required) —
- `count` (integer) —

## Responses

### 200 — Commenters + total comment count reported by LinkedIn.

```json
{
  "ok": false,
  "postUrn": "string",
  "total": 0,
  "count": 0,
  "comments": [
    {
      "profileUrn": "string",
      "slug": "string",
      "name": "string",
      "headline": "string",
      "commentText": "string",
      "postedAt": 0
    }
  ]
}
```

### 404 — Session not found.

### 429 — Daily quota exceeded for this session.

## Code samples

### TypeScript

```typescript
import { MyAgentMail } from "myagentmail";

const client = new MyAgentMail({ apiKey: process.env.MYAGENTMAIL_API_KEY! });

// GET /linkedin/posts/{postUrn}/comments
const result = await client.request("get", "/linkedin/posts/{postUrn}/comments", { params: { postUrn: "string" } });
```

### curl

```bash
curl -X GET 'https://myagentmail.com/linkedin/posts/string/comments?sessionId=string' \
  -H 'X-API-Key: $MYAGENTMAIL_API_KEY'
```

### Python

```python
import os, requests

r = requests.get(
    "https://myagentmail.com/linkedin/posts/string/comments?sessionId=string",
    headers={"X-API-Key": os.environ["MYAGENTMAIL_API_KEY"]},
)
r.raise_for_status()
print(r.json())
```
