Posts
The post commands let you get, create, react to, and manage LinkedIn posts. All commands are account-scoped and require --account (or a default set via curviate config set-account).
Post IDs are verbatim identifiers, a urn:li:activity:N URN, or a full LinkedIn share URL (the numeric activity id is extracted automatically) — they are not resolved via a separate lookup.
Changed in 0.15.0:
post listis removed — there is no v2 endpoint that lists all posts for an account.post commentandpost comments(andpost react --comment-id) move to the newcommentcommand group.post create --video-thumbnailis removed — the v2 posts body's only media channel is--attach, with no thumbnail field. New:post delete,post unreact,post user-posts,post user-reactions.
Commands
# Get a single post by ID
curviate post get <post_id># Create a post (write, ALWAYS multipart, --preview accepted)
# --attach can be repeated for multiple images; a single PDF produces a document post
curviate post create "<text>" [--attach <file>…]# Delete a post you own (write, --preview accepted)
curviate post delete <post_id># React to a post (write)
# Flag is --reaction (not --emoji)
# Allowed values: like, celebrate, support, love, insightful, funny
# --as-organization reacts on behalf of an organization page (org id from `profile me` organizations)
curviate post react <post_id> --reaction <like|celebrate|support|love|insightful|funny> [--as-organization <org_id>]# Remove your reaction from a post (write, --preview accepted)
curviate post unreact <post_id> <reaction># List reactions on a post (paginated read)
curviate post reactions <post_id> [--limit <n>] [--cursor <token>] [--all] [--max-pages <n>]# List a member's own posts (paginated read, accepts 'me')
curviate post user-posts <user_id> [--limit <n>] [--cursor <token>] [--all] [--max-pages <n>]# List a member's own reactions (paginated read, accepts 'me')
curviate post user-reactions <user_id> [--limit <n>] [--cursor <token>] [--all] [--max-pages <n>]Saved posts (your private bookmarks)
The saved-posts list is a private, self resource — your connected account's own bookmarks, never visible to third parties and never notifying the post's author.
# List your saved-posts bookmark list, newest-saved-first (paginated read)
# Each item is a PREVIEW (snippet capped at ~140 chars), never the full body —
# use `post get <id>` for the full post.
curviate post saved [--limit <n>] [--cursor <token>] [--all] [--max-pages <n>]# Save a post to your private bookmark list (write, --preview accepted)
# Idempotent (saving an already-saved post re-asserts saved:true).
# Accepts urn:li:activity:<id> or a bare numeric id.
curviate post save <post_id># Remove a post from your bookmark list (write, --preview accepted)
# Idempotent (unsaving a not-currently-saved post re-asserts saved:false).
curviate post unsave <post_id>To list or manage the comment thread on a post, see the comment command group — comment list <post_id> replaces the old post comments.
Examples
Get a post
curviate post get urn:li:activity:1234567890 --account acc_YOUR_ACCOUNT_IDCreate a text post
curviate post create "Excited to share that we've just launched a new developer API. Check it out!" --account acc_YOUR_ACCOUNT_IDCreate a post with an image
curviate post create "Here's a look at our latest product update." --attach ./product-screenshot.png --account acc_YOUR_ACCOUNT_IDPreview a post before publishing
curviate post create "Draft message to review before posting." --preview --account acc_YOUR_ACCOUNT_IDDelete a post
curviate post delete urn:li:activity:1234567890 --account acc_YOUR_ACCOUNT_IDReact to a post, then remove the reaction
# React with "celebrate"
curviate post react urn:li:activity:1234567890 --reaction celebrate --account acc_YOUR_ACCOUNT_ID
# Remove it
curviate post unreact urn:li:activity:1234567890 celebrate --account acc_YOUR_ACCOUNT_IDList who reacted to a post
curviate post reactions urn:li:activity:1234567890 --account acc_YOUR_ACCOUNT_IDList your own posts and reactions
curviate post user-posts me --account acc_YOUR_ACCOUNT_ID
curviate post user-reactions me --all --account acc_YOUR_ACCOUNT_IDList another member's posts
curviate post user-posts https://linkedin.com/in/janesmith --account acc_YOUR_ACCOUNT_IDSave a post, list saved, then unsave
# Save a post to your private bookmarks
curviate post save urn:li:activity:7290000000000000000 --account acc_YOUR_ACCOUNT_ID
# List your saved posts (previews)
curviate post saved --account acc_YOUR_ACCOUNT_ID
# Remove it again
curviate post unsave urn:li:activity:7290000000000000000 --account acc_YOUR_ACCOUNT_ID