# list_post_comments: List a post's comments

List the comments on one post, or the replies to one comment. This action only reads; it changes nothing. Plan: Free and Connect.

```
POST https://api.heyreagent.com/v1/actions/list_post_comments
Authorization: Bearer YOUR_KEY
content-type: application/json

{
  "post": "PASTE_POST_LINK_HERE"
}
```

## What you give it

- `post` (needed): a post link or a post social id or a post id. The LinkedIn post: its URL, or its id (socialId) from an earlier result. Where to get it: On LinkedIn, click the More icon (the three dots) at the top right of the post, then "Copy link to post". Or: Run `search_posts` and use `posts[].url`.
- `commentId` (optional): a comment id. List the replies to this comment instead of the post's top-level comments. Where to get it: Run `list_comments_by_person` and use `comments[].id`.
- `sortBy` (optional): one of: MOST_RECENT, MOST_RELEVANT. Order (default MOST_RECENT).
- `limit` (optional): a number, 1 to 100. How many to return (1–100, default 25).
- `cursor` (optional): a cursor. nextCursor from the previous call, to get the next page. Keep the other arguments the same. Where to get it: The `nextCursor` from the last answer of `list_post_comments`.
- `connectionId` (optional): a connection id. Which of your LinkedIn accounts to act from (its id from list_linkedin_accounts). Omit to use your first live one. Where to get it: Run `list_linkedin_accounts` and use `accounts[].id`.

## What you get back

- `returned`: number
- `nextCursor`: a cursor
- `comments[].id`: a comment id
- `comments[].postId`: string
- `comments[].postUrn`: string
- `comments[].threadId`: string
- `comments[].author`: string or null
- `comments[].authorDetails.profileUrl`: a profile link
- `comments[].date`: string
- `comments[].text`: string
- `comments[].pictureUrl`: string
- `comments[].reactionCounter`: number
- `comments[].replyCounter`: number
- `comments[].impressionsCounter`: number
- `comments[].userReacted`: LIKE | PRAISE | APPRECIATION | EMPATHY | INTEREST | ENTERTAINMENT

## Good to know

- authorDetails.id is not documented as any kind of id; use authorDetails.profileUrl to reach the person.

Page: https://heyreagent.com/docs/actions/list_post_comments