Skip to main content
Every command prints JSON to stdout, so you can pipe it into jq or a script.

auth:login

Save your API key.
sydium auth:login --key sk_live_...
FlagRequiredDescription
--keyyesYour sk_live_... API key

auth:status

Show whether the CLI is authenticated (the key is masked).
sydium auth:status

accounts:list

List your connected social accounts.
sydium accounts:list

platforms:list

List supported platforms and their posting capabilities.
sydium platforms:list

posts:create

Publish now, or schedule, to one or more platforms.
sydium posts:create --platforms x,linkedin --caption "Hello world"
sydium posts:create --platforms linkedin --caption "Later" --schedule-at 2026-07-01T09:00:00Z
FlagRequiredDescription
--platformsyesComma-separated target platforms
--captionnoPost text
--medianoComma-separated Sydium-hosted media URLs
--schedule-atnoFuture ISO 8601 timestamp; omit to publish now
Returns an operation id you can pass to posts:get and posts:cancel.

posts:get

Per-target status of an operation.
sydium posts:get op_6d28cc8ebc8dde89f1f3fa19

posts:cancel

Cancel a scheduled operation (only targets still scheduled are cancelled).
sydium posts:cancel op_6d28cc8ebc8dde89f1f3fa19

analytics:get

Account analytics over a date range (defaults to the last 30 days). Dates are YYYY-MM-DD.
sydium analytics:get --from 2026-06-01 --to 2026-06-30

generate

Draft a caption in your brand voice.
sydium generate --topic "our new pricing" --platform linkedin --tone professional
FlagRequiredDescription
--topicyesWhat the post is about
--platformnoTarget platform
--tonenoTone hint
--languagenoOutput language