Content / TypeScript SDK

Save content post

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

pipeline.saveContentPostDeterministic 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
await pipeline.saveContentPost({
  "linkedinAccountId": "00000000-0000-4000-8000-000000000000",
  "postType": "thought_leadership",
  "hook": "example",
  "body": "example",
  "fullPost": "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 inCLI MCP REST API
TypeScript SDK | Pipeline v2 preview