Drafts
Drafts and scheduled posts.
Before you start: an API key and a connected LinkedIn account, see the Quickstart.
Commands
| Command | Description |
|---|---|
curviate draft list | List Drafts, newest first. With --status published it lists publish records instead (post id, account, time; never Drafts). |
curviate draft get | Get one Draft, with a fresh signed link (valid 1 hour) for each attachment. |
curviate draft create | Store a Draft. Every part is optional. With --schedule-at (and an account and text) Curviate publishes it at that time. Up to 50 Drafts and 2 GiB of media per account, and per no-account. A retry creates a second Draft. |
curviate draft update | Change a Draft: only the parts you pass change. --attach appends files; --schedule-at schedules or reschedules, --unschedule cancels. Any update to a failed Draft clears its failure. A Draft being published answers DRAFT_ |
curviate draft delete | Delete a Draft and its stored media. |
curviate draft publish | Publish a Draft now, under the same rules and safety limits as post create. Success deletes the Draft and prints the post id; a known failure leaves the Draft unchanged. If the error says the outcome is unknown, the post may be live: check the account's posts before retrying. |
Exit codes: the exit code table.