Posts

Comment on a post

Comment on one post, or answer one comment on it.

postUrl takes the post's link or its socialId; the action resolves a link to the socialId itself. A bare post id is refused.

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

post/v1/actions/comment_on_post

Request

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

Request body

postUrlstring required

The LinkedIn post URL.

textstring required

The comment text.

replyToCommentIdstring

Id of a comment on that post to reply to (from list_post_comments).

linkstring uri

A link to show as a preview card. It should also appear in the text; otherwise LinkedIn adds it at the end.

imageUrlstring uri

One image to attach (a public https link, up to 10 MB).

asOrganizationstring

Act as a company page you administer instead of yourself: that page's numeric id. No action here lists the pages you administer.

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: sent, postUrl, asReply, commentId, from, usedToday, dailyLimit.

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.