LinkedIn – Publishing

LinkedIn proxy: upload a media file

Uploads a media file (e.g. an image) to LinkedIn using the two-step upload flow:

  1. Requests upload metadata from LinkedIn to obtain a signed upload URL and asset URN.
  2. PUTs the raw file bytes to the signed URL.

Returns the digitalmediaAsset URN (e.g. urn:li:digitalmediaAsset:…) which can be passed to post-creation endpoints to attach the image to a post.

media_upload_type defaults to IMAGE_SHARING.

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

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
  • Auth: API key in header X-API-Key

Path parameters

account_idinteger required

Query parameters

media_upload_typestring

LinkedIn media upload type.

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.