Publish a LinkedIn post
linkedin_create_postPublishes a LinkedIn post as the authenticated user or organization, supporting text, link previews, and images with automatic hashtag conversion. Confirm the final text before immediate public posting.
Instructions
Publishes a post on LinkedIn as the authenticated member (or an organization). Supports plain text, a link preview (article) or a single image. #hashtags in the text become real hashtags; all other special characters are escaped automatically. This publishes publicly and immediately — confirm the final text with the user before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Post text (max 3000 characters). | |
| image | No | Attach an image: absolute local file path or http(s) URL (JPG, PNG, GIF). Cannot be combined with link_url. | |
| link_url | No | Attach a link preview to this URL. | |
| link_title | No | Title for the link preview. | |
| visibility | No | PUBLIC (anyone), CONNECTIONS (members only, not for organizations), LOGGED_IN (signed-in members). | PUBLIC |
| image_alt_text | No | Alt text for the image. | |
| organization_id | No | Post/act as this organization instead of yourself. Accepts a numeric id or urn:li:organization:<id>. Requires the Community Management API product. | |
| convert_hashtags | No | Convert #words into LinkedIn hashtags. | |
| link_description | No | Description for the link preview. |