create_post
Create or schedule a LinkedIn post, optionally with a media attachment. For a single image pass a urn:li:digitalmediaAsset:… URN; for multiple images pass a urn:li:fsd_multiPhoto:… URN from create_multi_photo. Set scheduled_at (Unix ms) to schedule; omit it to publish immediately. Publishes now or schedules (scheduled_time); counts against the daily posts quota. Show the user the full text before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Plain text to send or post. | |
| media_urn | No | Optional media URN to attach. | |
| account_id | Yes | Reach id of the LinkedIn account to act on, from list_accounts. | |
| visibility | No | 'ANYONE' or 'CONNECTIONS_ONLY'. | ANYONE |
| scheduled_at | No | Scheduled publish time in Unix milliseconds. Omit to publish now. | |
| idempotency_key | No | Optional. A key you choose (a UUID is fine) that names this exact call. If you retry with the same key and the same arguments, the first call's result is returned and nothing is done twice on LinkedIn. Reusing a key with different arguments is refused. Keys expire after 24 hours. | |
| allowed_commenters_scope | No | 'ALL' or 'CONNECTIONS_ONLY'. | ALL |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_key | No | Identifier of the created or scheduled post |