---
title: "LinkedIn API image, video, and document requirements"
description: "LinkedIn media limits from the Images, Videos, MultiImage, and Documents APIs: 2 to 20 images, 75 KB to 500MB video, 3 seconds to 30 minutes, 300-page documents."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# LinkedIn API image, video, and document requirements

LinkedIn's Images API takes JPG, GIF, and PNG; a MultiImage post carries 2 to 20 images. Videos are 75 KB to 500MB and three seconds to 30 minutes. Documents stop at 100MB and 300 pages. (Checked 2026-12-05.)

## Facts

| Fact                       | Official value          | Source                                                                                                                 | Checked    |
| -------------------------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------- |
| Image formats              | JPG, GIF, PNG           | [Images API](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/images-api)              | 2026-12-05 |
| Images per MultiImage post | 2 to 20                 | [MultiImage API](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/multiimage-post-api) | 2026-12-05 |
| Video file size            | 75 KB to 500 MB         | [Videos API](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/videos-api)              | 2026-12-05 |
| Video length               | 3 seconds to 30 minutes | [Videos API](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/videos-api)              | 2026-12-05 |
| Document limits            | 100MB and 300 pages     | [Documents API](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/documents-api)        | 2026-12-05 |

## Where official docs disagree

- **Image formats**: JPG, GIF, PNG in [Images API](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/images-api); JPEG, PNG in [Assets API](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/vector-asset-api).
- LinkedIn states no byte limit for images, only a pixel limit; the 10MB image cap is PubNio's.

## What PubNio enforces

- Video uploaded to a PubNio workspace is capped at 5GiB, and other media at 256MiB. Only media given to a post by URL can be larger, so a provider limit above those sizes applies to URL media only.
- PubNio accepts JPEG, PNG, GIF, MP4, PDF: up to 20 images of 10MB each, video up to 500MB lasting 3 seconds to 30 minutes, and PDF documents up to 100 MB.
- Post text is capped at 3,000 characters.

## Read the live value

- [`GET /api/v1/capabilities`](https://pubnio.com/api/v1/docs#tag/capabilities/GET/api/v1/capabilities) returns PubNio's media rules for every LinkedIn
  placement, and [`POST /api/v1/posts/{postId}/validate`](https://pubnio.com/api/v1/docs#tag/posts/POST/api/v1/posts/{postId}/validate) checks a draft against them without
  publishing.

## Related errors

- PubNio reports a file it will not send as `media_mime_type`, `media_too_large`, or `media_count` on the target, before any provider call.
- [LinkedIn error codes](https://pubnio.com/docs/errors/linkedin/) lists the errors PubNio returns for LinkedIn and how to fix each.

## Limits

- PubNio sends PDF documents only; LinkedIn's Documents API also takes PPT, PPTX, DOC, and DOCX.

## Sources

- [Images API](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/images-api), checked 2026-12-05

  ```text
  JPG, GIF, and PNG formats
  ```

- [Assets API](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/vector-asset-api), checked 2026-12-05

  ```text
  Currently, only jpeg and png formats are supported.
  ```

- [MultiImage API](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/multiimage-post-api), checked 2026-12-05

  ```text
  minimum of 2 images and maximum of 20 images
  ```

- [Videos API](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/videos-api), checked 2026-12-05

  ```text
  File size: Between 75kb and 500MB.
  Length: Three seconds to 30 minutes.
  ```

- [Documents API](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/documents-api), checked 2026-12-05

  ```text
  The file size can't exceed 100MB and 300 pages.
  ```

## Related

- [Posting limits](https://pubnio.com/docs/providers/linkedin/limits/)
- [Rate limits and quota](https://pubnio.com/docs/providers/linkedin/quota/)
- [Scopes and permissions](https://pubnio.com/docs/providers/linkedin/scopes/)
- [App review and access](https://pubnio.com/docs/providers/linkedin/app-review/)
- [Token lifetimes](https://pubnio.com/docs/providers/linkedin/tokens/)
- [API versions](https://pubnio.com/docs/providers/linkedin/versioning/)
- [LinkedIn error codes](https://pubnio.com/docs/errors/linkedin/)
- [Publishing to LinkedIn](https://pubnio.com/docs/networks/linkedin/)
- [Provider API explainers](https://pubnio.com/docs/providers/)

Source: https://pubnio.com/docs/providers/linkedin/media/index.mdx
