capabilities.work

Upload an Image and Create a Post

A 3-step recipe with LinkedIn. We can help you get access.

Recipe · 3 steps

Upload an Image and Create a Post

with LinkedIn · Digital Marketing Management

Initialize an image upload, verify the asset, and publish a post with the image.

  1. Register the upcoming image upload for the owner to obtain the image URN and upload URL.
  2. Retrieve the single image to confirm the asset resolved before referencing it in a post.
  3. Create a published post authored by the owner that embeds the uploaded image as its media.
What you'll need to have ready
  • authorization: The OAuth 2.0 bearer credential, e.g. "Bearer <access-token>".
  • linkedinVersion: The LinkedIn-Version header in YYYYMM format (e.g. "202401").
  • ownerUrn: The owner URN that will own the image, e.g. "urn:li:organization:5583111".
  • imageUrn: The image URN to verify after upload registration, e.g. "urn:li:image:abc".
  • commentary: The commentary text for the post.
For your developer

Arazzo workflow linkedin:upload-image-and-create-post, 3 operations: postInitializeImageUpload → getGetASingleImage → postCreateDocumentContent. Specs on APIs.io.