Posts

Get a post

Read one post.

This is how a post link becomes a socialId.

author.id is null for some authors (the published sample shows it for a company page).

permissions.canPostComments and permissions.canReact say whether a comment or a reaction will be accepted.

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

post/v1/actions/get_post

Request

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

Request body

poststring required

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

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: id, socialId, shareUrl, title, text, date, parsedDatetime, reactionCounter, commentCounter, repostCounter, impressionsCounter, userReacted, author.publicIdentifier, author.id, author.name, author.isCompany, author.headline, author.profilePictureUrl, writtenBy.id, writtenBy.publicIdentifier, writtenBy.name, permissions.canReact, permissions.canShare, permissions.canPostComments, isRepost, repostId, repostParsedDatetime, repostedBy.publicIdentifier, repostedBy.id, repostedBy.name, repostedBy.isCompany, repostedBy.headline, repostedBy.profilePictureUrl, repostContent.id, repostContent.date, repostContent.parsedDatetime, repostContent.text, mentions[].url, mentions[].start, mentions[].length, attachments[].id, attachments[].fileSize, attachments[].unavailable, attachments[].mimetype, attachments[].url, attachments[].urlExpiresAt, attachments[].type, attachments[].sticker, attachments[].gif, attachments[].duration, attachments[].voiceNote, attachments[].fileName, attachments[].startsAt, attachments[].expiresAt, attachments[].timeRange, attachments[].displayName, attachments[].organization, poll.id, poll.totalVotesCount, poll.question, poll.isOpen, group.id, group.name, group.private, jobPosting.id, jobPosting.title, jobPosting.location, article.id, article.title, article.url, article.author, article.publishedAt, article.excerpt, article.pictureUrl, analytics.impressions, analytics.engagements, analytics.engagementRate, analytics.clicks, analytics.clickthroughRate, analytics.pageViewersFromThisPost, analytics.followersGainedFromThisPost, analytics.membersReached.

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.