sdkProvider-backed
Schedule post
pipeline.schedulePost
Schedule a content post to publish at a future time. The cron worker will pick it up and publish to LinkedIn when scheduled_at is reached. Use this instead of publish-post when you want a confirmation window (e.g. schedule for 10 minutes from now so a human can sanity-check). Call this again with the same postId and a new future scheduled_at to reschedule. Use unschedule-post to cancel before publication starts.
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 draft or scheduled content post ID. Publishing and published posts cannot be rescheduled.
scheduled_atrequired
string
ISO 8601 datetime in the future, e.g. 2026-04-23T18:30:00Z.
Example
TypeScripttypescript
await pipeline.schedulePost({"postId": "00000000-0000-4000-8000-000000000000","scheduled_at": "2026-08-18T14:00:00.000Z"})
Response
The operation is available, but its typed response schema has not been published yet.
Exceptions
- PipelineError
- Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.