campaignstack_create_content_post
Creates a draft content post for a LinkedIn account. Returns the new post ID. Use campaignstack_get_content_post to retrieve the full post. postType is auto-inferred from media if not provided (no media = text, image/* = image, video/* = video, pdf/pptx = document). Optional tags array for categorization (system tags: ai-generated, weekly-suggestion, on-demand, competitor-inspired; or freeform user tags).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| tags | No | ||
| mediaIds | No | ||
| platform | Yes | ||
| postType | No | ||
| scheduledAt | No | Schedule the post at this exact time after creating it. | |
| workspaceId | No | Defaults to the API key's workspace | |
| autoSchedule | No | Create the post and auto-place it into the next valid posting slot (respects the account's daily LinkedIn limit). Use this to queue many posts without picking times. | |
| authorAccountId | Yes |