Content / REST API

Save content post

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

POST /api/v1/content/postsDeterministic 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
curl -X POST "https://app.pipeline.help/api/v1/content/posts" \
  -H "Authorization: Bearer $PIPELINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"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 TypeScript SDK
API reference | Pipeline v2 preview