Posts

List a post's comments

List the comments on one post, or the replies to one comment.

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

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

post/v1/actions/list_post_comments

Request

  • Base URL: https://api.heyreagent.com
  • URL: https://api.heyreagent.com/v1/actions/list_post_comments
  • Auth: HTTP bearer

Request body

poststring required

The LinkedIn post: its URL, or its id (socialId) from an earlier result.

commentIdstring

List the replies to this comment instead of the post's top-level comments.

sortBy'MOST_RECENT' | 'MOST_RELEVANT'

Order (default MOST_RECENT).

limitnumber

How many to return (1–100, default 25).

cursorstring

nextCursor from the previous call, to get the next page. Keep the other arguments the same.

connectionIdstring

Which of your LinkedIn accounts to act from (its id from list_linkedin_accounts). Omit to use your first live one.

Response

It worked. Inside result: returned, nextCursor, comments[].id, comments[].postId, comments[].postUrn, comments[].threadId, comments[].author, comments[].authorDetails.profileUrl, comments[].date, comments[].text, comments[].pictureUrl, comments[].reactionCounter, comments[].replyCounter, comments[].impressionsCounter, comments[].userReacted.

oktrue required
resultobject required

What was asked for. A field that does not apply is left out, or is null.

Changes

No recorded changes to this operation across all 1 revision of this API.