cliProvider-backed
Publish post
pipeline publish-post
Publish a content post to LinkedIn IMMEDIATELY. The post must already have a LinkedIn account associated (set when generated). Returns the live LinkedIn post URL on success. Use schedule-post if you want a delay/safety window before it goes live.
Parameters
workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
postIdrequired
string
The content post ID (must be in draft status).
Example
CLI commandbash
pipeline publish-post \--post-id "00000000-0000-4000-8000-000000000000"
Response
The operation is available, but its typed response schema has not been published yet.
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.