Posts

Publish a post

Publish one post, or repost one.

No published text says which form of id postId is. Pass it to get_post and use the socialId that comes back.

A mention is written {{0}}, {{1}}, … in the text, by its position in mentions.

repost true and attachments (a count) are added to the answer when they apply.

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

post/v1/actions/create_post

Request

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

Request body

textstring

The post text, exactly as it should appear. May be empty only for a plain repost.

attachmentUrlsstring[]

Images, one video or one document to attach. Public https links; each file up to 10 MB, 20 MB in total.

videoThumbnailUrlstring uri

Cover image for an attached video (a public https link).

repostOfstring

URL of an existing LinkedIn post to repost. With empty text it is a plain repost; with text, a repost with your thoughts.

linkstring uri

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

jobPostingIdstring

Id of one of your job postings to show as a card (from list_job_postings).

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: published, postId, 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.