LinkedIn – Publishing

LinkedIn proxy: create or schedule a post

Creates or schedules a LinkedIn post, with optional media attachment.

Media options:

  • Text-only: omit media_urn.
  • Single image: pass a urn:li:digitalmediaAsset:… URN (obtained via /upload-media).
  • Multiple images: pass a urn:li:fsd_multiPhoto:… URN (obtained via /create-multi-photo).

Scheduling: set scheduled_at to a Unix timestamp in milliseconds to schedule the post; omit it to publish immediately.

Returns the resource_key (urn:li:fsd_share:urn:li:ugcPost:…) of the created post.

post/api/linkedin/{account_id}/create-post

Request

  • Base URL: https://api.reachmcp.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.reachmcp.com/api/linkedin/{account_id}/create-post
  • Auth: API key in header X-API-Key

Path parameters

account_idinteger required

Request body

textstring required

Post text content.

media_urnstring nullable

Media URN to attach. Use urn:li:digitalmediaAsset:… for a single image or urn:li:fsd_multiPhoto:… (from /create-multi-photo) for multiple images. Omit for a text-only post.

scheduled_atinteger nullable

Scheduled publish time as Unix timestamp in milliseconds (13-digit epoch, e.g. 1779446566000). Omit to publish immediately.

visibilitystring

Post visibility: 'ANYONE' (public) or 'CONNECTIONS_ONLY'.

allowed_commenters_scopestring

Who can comment: 'ALL' or 'CONNECTIONS_ONLY'.

Response

Successful Response

resource_keystring required

Post URN (e.g. urn:li:fsd_share:urn:li:ugcPost:…).

Changes

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