Create a draft or scheduled post and mirror it into Late for auto-publish.
account_ids resolves to one or more LinkedIn accounts and content is non-empty, the server mirrors the post into Late so it can publish at scheduled_at. If Late’s API rejects the mirror, the local row is still saved with late_post_id: null — retry the mirror by calling updateSocialPost with the same body.
Hashtags are stored separately in hashtags[] but appended to content before handing off to Late, since LinkedIn has no native hashtag field.
content must be non-emptystatus === "scheduled", scheduled_at must be strictly in the future (1-minute grace window)account_ids explicitly, or rely on the channels: ["linkedin"] fallback which picks the caller’s first LinkedIn accountdraft — editable, never publishes automaticallyscheduled — queued with Late, auto-publishes at scheduled_atposted — used for importing already-published posts (e.g., from onboarding); typically the server sets this, not the calleruploadSocialMedia first, then pass the returned URLs in media_items[]. LinkedIn allows only one media type per post.After creating, poll listSocialPosts (or syncSocialPostStatus once past scheduled_at) to observe status transitions.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
If account_ids resolves to one or more LinkedIn accounts and content is non-empty, the server mirrors the post into Late (creating late_post_id). If Late creation fails, the post is still saved locally with late_post_id: null.
Post body text. Required and non-empty.
1Hashtags without the leading #. Appended to content before sending to Late since LinkedIn has no separate hashtag field.
Legacy channel list, e.g. ['linkedin']. Fallback targeting when account_ids is empty.
ISO timestamp. Required when status === 'scheduled'. Must be in the future (1-minute grace window).
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Target social account IDs. If empty and channels includes linkedin, the server falls back to the caller's first LinkedIn account.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Defaults to draft. scheduled queues with Late; posted is for importing already-published posts from onboarding.
draft, scheduled, posted Optional media attachments. Each URL must come from uploadSocialMedia.
Post created.
Canonical social post row.