LinkedIn – Publishing

LinkedIn proxy: upload a media file from a URL

Fetches an image from a publicly accessible URL and uploads it to LinkedIn.

This is the agent-friendly alternative to /upload-media (which requires a binary file upload). Pass any public image URL; the backend will download it and execute the two-step LinkedIn upload flow.

Returns the digitalmediaAsset URN (e.g. urn:li:digitalmediaAsset:…) which can be passed to /create-post or /create-multi-photo.

post/api/linkedin/{account_id}/upload-media-url

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}/upload-media-url
  • Auth: API key in header X-API-Key

Path parameters

account_idinteger required

Request body

image_urlstring required

Publicly accessible URL of the image to upload (JPEG, PNG, GIF…).

media_upload_typestring

LinkedIn media upload type (default: IMAGE_SHARING).

Response

Successful Response

urnstring required

digitalmediaAsset URN (e.g. urn:li:digitalmediaAsset:…). Use this when creating a post with an image.

Changes

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