smallforce social posts validate
Validate post content, media, publications, and platformOptions without creating a post
This page is generated from the same Commander definition shipped in SmallForce CLI 0.1.7. Run smallforce social posts validate --help locally to view the same reference for your installed version.
Complete command help
Usage: smallforce social posts validate [options]
Validate post content, media, publications, and platformOptions without creating a post
Options:
--content <text> Shared post text
--title <text> Internal post title
--profile <profileId> Social profile id from social profiles list
--scheduled-for <iso> ISO timestamp required for schedule mode
--timezone <iana> IANA timezone, for example America/Detroit
--asset <assetId> SmallForce asset id; repeat for multiple media (default: [])
--media-url <url> Public media URL; repeat for multiple media (default: [])
--hashtag <tag> Hashtag without transport-specific formatting; repeatable (default: [])
--tag <tag> Internal post tag; repeatable (default: [])
--publication <json> Publication object; repeat once per target account (default: [])
--metadata <json> Inline JSON object stored with the post
--publish <mode> Publish mode: draft, now, or schedule (default: "draft")
--idempotency-key <key> Stable key preventing duplicate creates
--api-key <key> SmallForce API key, or set SMALLFORCE_API_KEY
--backend-url <url> SmallForce backend URL, or set SMALLFORCE_BACKEND_URL
--json Print stable machine-readable JSON
--text Print human-readable text
--format <format> Output format: text or json
-h, --help display help for command
Related reference
smallforce social posts: Parent command and related operations.- CLI installation and authentication: Install the CLI and configure an API key.
- CLI JSON output: Use stable machine-readable output in scripts and agents.