# list_posts_by_author: List a person's or company's posts

List the posts one person or one company page published, newest first. This action only reads; it changes nothing. Plan: Free and Connect.

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

{
  "author": "PASTE_PROFILE_LINK_HERE"
}
```

## What you give it

- `author` (needed): a profile link or a member id or a company id. A LinkedIn profile URL or member id — or a company's numeric id. Where to get it: Open the person's profile on LinkedIn and copy the address from your browser. It looks like https://www.linkedin.com/in/their-name Or: Run `search_people` and use `people[].profileUrl`.
- `isCompany` (optional): true or false. True when author is a company id.
- `limit` (optional): a number, 1 to 100. How many to return (1–100, default 10).
- `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_posts_by_author`.
- `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
- `posts[].id`: a post id
- `posts[].socialId`: a post social id
- `posts[].shareUrl`: a post link
- `posts[].title`: string
- `posts[].text`: string
- `posts[].date`: string
- `posts[].parsedDatetime`: string
- `posts[].reactionCounter`: number
- `posts[].commentCounter`: number
- `posts[].repostCounter`: number
- `posts[].impressionsCounter`: number
- `posts[].userReacted`: LIKE | PRAISE | APPRECIATION | EMPATHY | INTEREST | ENTERTAINMENT
- `posts[].isRepost`: boolean
- `posts[].repostId`: string
- `posts[].repostParsedDatetime`: string

## Good to know

- For a company page pass its company id with isCompany true; a company link is not accepted.
- A profile link is first resolved to a member id, which LinkedIn counts as a profile view.

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