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). To cancel a scheduled post before it publishes, the user does that in the UI.

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).
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.
Pipeline TypeScript SDK documentation | Pipeline