---
title: "List a person's or company's posts"
method: POST
path: "/v1/actions/list_posts_by_author"
tags: ["Posts"]
---

# List a person's or company's posts

`POST /v1/actions/list_posts_by_author`

## Request

- Base URL: `https://api.heyreagent.com`
- URL: `https://api.heyreagent.com/v1/actions/list_posts_by_author`
- Auth: HTTP bearer

List the posts one person or one company page published, newest first.

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.

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

## Request body

- object
  - `author` string, required: A LinkedIn profile URL or member id — or a company's numeric id.
  - `isCompany` boolean: True when author is a company id.
  - `limit` number: How many to return (1–100, default 10).
  - `cursor` string: nextCursor from the previous call, to get the next page. Keep the other arguments the same.
  - `connectionId` string: Which of your LinkedIn accounts to act from (its id from list_linkedin_accounts). Omit to use your first live one.

## Response `200`

It worked. Inside result: returned, nextCursor, posts[].id, posts[].socialId, posts[].shareUrl, posts[].title, posts[].text, posts[].date, posts[].parsedDatetime, posts[].reactionCounter, posts[].commentCounter, posts[].repostCounter, posts[].impressionsCounter, posts[].userReacted, posts[].isRepost, posts[].repostId, posts[].repostParsedDatetime.

- Worked
  - `ok` true, required
  - `result` object, required: What was asked for. A field that does not apply is left out, or is null.

## Other responses

- `default`: It did not work. The message says why, in plain English.

---

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