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

# Publish Post

> Publishes an organic LinkedIn post as the connected member or as a Company Page: text, link, one or several images, video, document, or a repost

Publishes an organic LinkedIn post as the connected member or as a Company Page: text, link, one or several images, video, document, or a repost. Goes live immediately and is public by default.

| | |
| - | - |
| **App** | LinkedIn Organic |
| **Operation ID** | `linkedin_publish_post` |
| **Type** | Action |
| **Connection** | `linkedin` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |
| **Requires approval** | Yes (write operation) |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `author` | string or SelectItem | Yes | - | Who publishes the post: 'me' for the connected member's personal profile, or a Company Page id from linkedin\_select\_pages (urn:li:organization:\<id> also works). There is no default: confirm with the user which one they mean. |
| `text` | string | No | - | The post text. Hashtags (#marketing) work as typed. Mention a page or member with @\[Exact Name]\(urn:li:organization:\<id>) or @\[Name]\(urn:li:person:\<id>); the name must match the entity's LinkedIn name or it shows as plain text. |
| `link_url` | string | No | - | Share a link as an article card. LinkedIn does not scrape the page, so set link\_title (and optionally link\_description and link\_thumbnail\_url) to control how the card looks. |
| `link_title` | string | No | - | Article card title. |
| `link_description` | string | No | - | Article card description. |
| `link_thumbnail_url` | string | No | - | Article card image. Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact. |
| `image_urls` | string or array of string | No | - | One image, or 2 to 20 images for a multi-image post (JPG, PNG or GIF). Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact. |
| `video_url` | string | No | - | A video to post (MP4). Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact. |
| `document_url` | string | No | - | A document to post as a swipeable carousel: PDF, PPT(X) or DOC(X), up to 100 MB and 300 pages. Accepts direct URLs, Google Drive share links with sharing set to 'Anyone with the link', or files uploaded through Markifact. |
| `media_title` | string | No | - | Title shown on a video or document post. |
| `repost_of` | string | No | - | Repost an existing post with your text on top: its URN (urn:li:share:\<id> or urn:li:ugcPost:\<id>) or its LinkedIn URL. |
| `visibility` | enum (`PUBLIC`, `CONNECTIONS`, `LOGGED_IN`) | No | `PUBLIC` | PUBLIC (default) shows the post to anyone. CONNECTIONS (member posts only) limits it to the member's connections. LOGGED\_IN limits it to signed-in LinkedIn members. |
| `disable_reshare` | boolean | No | `False` | Set to True to stop others from reposting this post. |

### SelectItem

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | The value of the selectable item. |
| `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |

## Output

**Type**: `Dict`

The new post's URN and URL.

**Fields**: `post_id`, `post_url`, `author`

**Example**:

```json theme={"dark"}
{
  "post_id": "urn:li:share:7393849934576214016",
  "post_url": "https://www.linkedin.com/feed/update/urn:li:share:7393849934576214016/",
  "author": "urn:li:organization:94825288"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.