Content / CLI

Save content post

Save caller-authored LinkedIn content as a draft. This operation cannot schedule or publish.

pipeline save-content-postDeterministic operation

Parameters

workspaceIdOptional · string
Optional with API key auth, inferred from the key.
linkedinAccountIdRequired · string
See the input schema for this field.
topicOptional · string
See the input schema for this field.
postTypeRequired · string
See the input schema for this field.thought_leadership · lead_magnet · case_study · personal_story
hookRequired · string
See the input schema for this field.
bodyRequired · string
See the input schema for this field.
ctaOptional · string
See the input schema for this field.
fullPostRequired · string
See the input schema for this field.
pinCommentOptional · string
See the input schema for this field.
idempotencyKeyOptional · string
Caller-stable key for retry-safe draft creation.
Request example
pipeline save-content-post \
  --linkedin-account-id "00000000-0000-4000-8000-000000000000" \
  --post-type "thought_leadership" \
  --hook "example" \
  --body "example" \
  --full-post "example"
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "description": "Optional with API key auth, inferred from the key."
    },
    "linkedinAccountId": {
      "type": "string"
    },
    "topic": {
      "type": "string"
    },
    "postType": {
      "type": "string",
      "enum": [
        "thought_leadership",
        "lead_magnet",
        "case_study",
        "personal_story"
      ]
    },
    "hook": {
      "type": "string"
    },
    "body": {
      "type": "string"
    },
    "cta": {
      "type": "string"
    },
    "fullPost": {
      "type": "string"
    },
    "pinComment": {
      "type": "string"
    },
    "idempotencyKey": {
      "type": "string",
      "description": "Caller-stable key for retry-safe draft creation."
    }
  },
  "required": [
    "linkedinAccountId",
    "postType",
    "hook",
    "body",
    "fullPost"
  ]
}
See this operation inMCP REST API TypeScript SDK
CLI guide | Pipeline v2 preview