Create, schedule, and publish social media posts
Begin with a connected account and the platform’s current publishing schema. A post can share common content while each publication targets one account and can override text, media, schedule, or platform options.
Safe publishing workflow
- List platforms, profiles, and accounts.
- Upload any local media through SmallForce Assets.
- Prepare one publication object per target account.
- Validate the complete post.
- Create it as a draft, publish now, or schedule it.
- Inspect each account’s publication result and retry only failures that are safe to repeat.
smallforce social posts validate \
--content "Hello from SmallForce" \
--publish now \
--publication '{"accountId":"<accountId>"}'
smallforce social posts create \
--content "Hello from SmallForce" \
--publish schedule \
--scheduled-for 2030-07-15T14:00:00Z \
--publication '{"accountId":"<accountId>"}'
Use an idempotency key when an agent or automation may retry the same creation request. See social posts create for the exact publication structure.