cliDeterministic
Save content post
pipeline save-content-post
Save caller-authored LinkedIn content as a draft. This operation cannot schedule or publish.
Parameters
workspaceId
string
Optional with API key auth, inferred from the key.
linkedinAccountIdrequired
string
No description.
topic
string
No description.
postTyperequired
string
No description.
thought_leadership | lead_magnet | case_study | personal_story
hookrequired
string
No description.
bodyrequired
string
No description.
cta
string
No description.
fullPostrequired
string
No description.
pinComment
string
No description.
idempotencyKey
string
Caller-stable key for retry-safe draft creation.
Example
CLI commandbash
pipeline save-content-post \--linkedin-account-id "00000000-0000-4000-8000-000000000000" \--post-type "thought_leadership" \--hook "example" \--body "example" \--full-post "example"
Response
Success response schemajson schema
{"type": "object","properties": {"success": {"type": "boolean"},"data": {"type": "object","properties": {"id": {"type": "string"},"workspaceId": {"type": "string"},"linkedinAccountId": {"type": "string"},"status": {"type": "string","enum": ["draft","approved","scheduled","publishing","published","failed","archived"]}},"required": ["id","workspaceId","linkedinAccountId","status"]}},"required": ["success","data"]}
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.