create_document_post
Share documents as carousel posts on LinkedIn using PDF, PPTX, or DOCX files from local paths or URLs. Create posts with text content and control visibility settings.
Instructions
Create a LinkedIn post with a document (PDF, PPTX, DOCX) using the Official API.
Documents appear as carousel-style slideshows in the LinkedIn feed. Great for sharing presentations, guides, reports, etc.
Requires "Share on LinkedIn" product enabled in your LinkedIn Developer app.
Supported formats: PDF (recommended), PPTX, DOCX Maximum file size: 100MB
Args: text: Post text content (max 3000 characters) document_path: Document source - can be: - Absolute path to local file (PDF, PPTX, DOCX) - URL to document (http:// or https://) title: Optional title for the document (defaults to filename) visibility: Post visibility - PUBLIC or CONNECTIONS
Returns the created post details including post URN and document URN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| document_path | Yes | ||
| title | No | ||
| visibility | No | PUBLIC |