OmniSocialsOmniSocials
DocumentationAPI reference
Help centerSupport
  • Documentation
  • API reference
Developers
  • Quickstart
  • API reference
  • SDKs
  • MCP server
  • CLI
For AI agents
  • Docs for AI agents
  • llms.txt
  • OpenAPI spec
  • Postman collection
Product
  • OmniSocials
  • Pricing
  • Changelog
  • Help center
Company
  • Support
  • Privacy policy
  • Terms of service

© 2026 OmniSocials

OmniSocials on GitHubOmniSocials on XOmniSocials on LinkedIn
Overview
Get started
SDKs
CLI
    Posting commandsInbox commandsAnalytics commandsPlatform commandsManagement commands
MCPDocs for AI agentsWebhooks
Guides
Platforms
Integrations
Connect
Migrate
Plans and billing
GlossaryChangelogAPI reference
CLI

CLI account management commands

Configuration, media library, folders, and webhook management.

Setup and configuration

CommandDescription
setupInteractive setup: prompts for an API key, validates it, writes the config file, and adds .omnisocials/ to .gitignore. Flags: --api-key <key> (skip the prompt), --global (write the global config), --base-url <url>
config:showShow the resolved config: masked API key, base URL, and which source it came from

These two commands are the only ones that run without authentication. See CLI authentication for the full resolution order.

Media

CommandDescription
media:listList uploaded media files. Flags: --limit, --offset
media:uploadUpload from a URL (image, video, or PDF). Flags: --url (required), --filename, --name, --folder, --folder-id, --pdf-mode. PDFs are split into one image slide per page for carousels; --pdf-mode document keeps the PDF as one media item whose single id expands into every page
media:upload-base64Upload a local file: --file <path> (auto-encodes and infers the MIME type) or --data <base64> plus --mime-type <type>; also --filename, --name, --folder, --folder-id, --pdf-mode
media:checkCheck media compatibility against target platforms before posting. Pass --url, --media-id, or --size-bytes plus --mime. For a library image (--media-id) it also prints how each channel shows it as a feed post (ratio, whether it fits, the crop target and the default action), so you can decide on --media-fit before you post
media:delete <id>Delete a media file
TerminalTerminal
# Upload a local video and verify it works everywhere you want to post omnisocials media:upload-base64 --file ./reel.mp4 omnisocials media:check --media-id 12345

Folders

CommandDescription
folders:listList media folders with id, name, parent, and item count
folders:createCreate a folder. Flags: --name (required), --parent-id (nested folders)

Hashtag sets

Save a group of hashtags once, then apply it to any post with posts:create --hashtag-set "<name>". Tags merge into the captions at create time (editing a set later never changes existing posts), duplicates already in a caption are skipped, and Instagram's 5-hashtag cap fails fast. Add --hashtag-placement first_comment to post the tags as the automatic first comment where supported, and --hashtag-platforms instagram,tiktok to target a subset of channels.

CommandDescription
hashtag-sets:listList saved sets with id, name, tag count, and a preview
hashtag-sets:createSave a set. Flags: --name (required, unique per workspace), --tags (required, e.g. "#fitness #gym"; the # is optional, max 100 tags)
hashtag-sets:update <id>Rename or replace tags. Flags: --name, --tags (replaces the full list)
hashtag-sets:delete <id>Delete a set. Posts that already used it keep their hashtags
TerminalTerminal
omnisocials hashtag-sets:create --name "Fitness Brand" --tags "#fitness #gym #workout" omnisocials posts:create --text "New PB today" \ --channels instagram,tiktok \ --hashtag-set "Fitness Brand" --hashtag-placement first_comment

Post tags

Your own labels on posts (a hook style, a format, a campaign), to filter posts and compare them with analytics:tags. Tags never go to a platform, so published posts can be tagged too. See Post tags.

CommandDescription
tags:listList the workspace's tags with id, name and colour
tags:createCreate a tag. Flag: --name (required, unique per workspace, max 40 characters)
tags:update <id>Rename a tag. Flag: --name. Posts keep the tag
tags:delete <id>Delete a tag. It comes off every post; the posts stay
tags:applyAdd tags to up to 500 posts at once. Flags: --posts <id,id> (required), --add "<name>" (a new name becomes a tag)
TerminalTerminal
omnisocials tags:apply --posts 1024,1025 --add "Question hook" omnisocials analytics:tags --start-date 2026-08-01 --end-date 2026-10-31

Limits and feature requests

What OmniSocials cannot do, why, and what to do instead, and a feature request for the OmniSocials team when the user wants it. No scope needed. See Limits and feature requests.

CommandDescription
limitsWhat OmniSocials cannot do, grouped by kind, platform rules first. Flags: --platform <id>, --area <area> (posts, media, inbox, analytics, automations, accounts, ads, team, other). Run it before you tell the user something is not possible
feature:requestSend a feature request for the user, only after they agreed. Flags: --summary (required, 10 to 1,000 characters: what and why, no conversation), --title, --platform, --area, --limit-id (an id from limits). A platform rule is refused and nothing is sent; at most 10 an hour
feature:listThe user's requests, newest first: id, title, status, date and the team's answer
feature:get <id>One request with its summary, votes and every team reply
TerminalTerminal
omnisocials limits --platform telegram omnisocials feature:request --summary "Post our daily update to the Announcements topic of our Telegram group." --limit-id telegram.forum_topics omnisocials feature:list

Automations (comment to DM)

An automation DMs a person once when they comment a keyword on an Instagram post (or send it in a DM or a story reply), and can post a public reply under the comment. It also runs on a Facebook Page with --platform facebook: a keyword in a comment under a Page post, or in a Messenger message to the Page, gets the DM in Messenger. Facebook has no story replies. With --platform x it answers a keyword in a DM to the X account (the trigger is dm, no post and no public reply); it runs only while X DMs are on for the workspace (409 x_dms_off otherwise, --paused always saves), and every X answer ends with "Reply STOP to stop automatic messages." The platform is set at create and cannot change. The API key needs the opt-in automations:read and automations:write scopes (Settings, API, "Automations" on the key).

CommandDescription
automations:listList automations with status, trigger, keywords, post and counts (with the link taps, the replies and the follow-ups when there are any). Flags: --status <active|paused|completed>, --platform <instagram|facebook|x>, --post-id
automations:get <id>One automation in full, with the DM's link button and the counts: N of M tapped the link, N wrote back, the follow-ups and their link taps
automations:createFlags: --dm "<text>" (required; max 1000 characters, 640 with a link button), --dm-button-title "<label>" with --dm-button-url <https://...> (a link button under the DM that counts taps; title max 20 characters, the address https:// only and max 900 characters; Instagram and Facebook, X answers 400 dm_button_not_supported), --keywords "guide,link", --match <word|contains|any> (word, the default, catches the forms people write: capitals, a plural, "guideee"), --reply "Sent you a DM!" (public reply, comma list for variations), --platform <instagram|facebook|x> (default instagram; x answers DMs only), one of --post-id <id>, --instagram-media-id <id> or --facebook-post-id <id> (a Page post published outside OmniSocials, {page-id}_{post-id} or the post id alone; implies facebook), --scope <post|next_post|any>, --triggers comment,dm,story_reply (Facebook: comment,dm; X: dm, the default there), --max-sends <n>, --stop-at <ISO8601>, --name, --paused, and on Instagram Follow first: --follow-first on|off with --follow-text, --follow-button, --not-following-text, --not-following-button (texts max 640 characters, buttons max 20; left out = the defaults), and on Instagram and Facebook a follow-up: --follow-up-text "<text>" (turns it on; max 1000 characters, 640 with a button), --follow-up-delay <1-23> (hours, default 23), --follow-up-button-title "<label>" with --follow-up-button-url <https://...>, --follow-up-tap-text and --follow-up-tap-button (the Instagram tap step)
automations:update <id>Same flags, all optional, plus --pause / --resume (an X automation resumes only while X DMs are on). The platform cannot change. --follow-first off keeps the Follow first texts; new texts alone keep the switch as it is. --no-follow-up turns the follow-up off and keeps its texts, --no-follow-up-button removes its button, and --follow-up-delay alone changes only the delay. A new --dm-button-title with --dm-button-url replaces the DM's button, --no-dm-button removes it, and a new --dm keeps it
automations:delete <id>Delete it and its activity. DMs already sent stay sent
automations:events <id>The activity: who commented or wrote, what was sent, answers waiting in the queue (queued), people asked to follow first or to tap the follow-up's button who have no link yet (waiting), where each follow-up is (due, sent or skipped with its reason), people who replied STOP on X (opted_out), skips with their reason, the keyword form a comment matched (matched link as "LINKS"), a tap on the DM's link button and a reply within 7 days. Each row starts with its event id (#5521) for automations:story. Flags: --outcome <sent|skipped|failed|pending|queued|opted_out|waiting|not_sent> (not_sent = skipped and failed together, everyone who got no DM), --filter <clicked|answered> (only the people who tapped the link, or who wrote back), --limit, --offset
automations:results <id>The results of a period: each step with its number and rate (commented, got the DM, tapped the link of those with a button, wrote back, the follow-ups and their link taps), the share of the comments that got a DM, why people got no DM, every step per day (matched, DMs sent, link taps, wrote back, no DM), and the posts that went live in the period, to see which post brought the comments. Flags: --period <7d|30d|all> (default 30d; all counts per week), --time-zone <IANA name> (default the machine's own), --json
automations:story <id> <event_id>One person's whole story: what they commented or wrote and on which post, what happened (the DM, the tap, the follow-up, when they wrote back), and the DM conversation after it. The event id comes from automations:events. The DM texts need the inbox:read scope on the key; without it the CLI says so and shows the rest. --json

A new post can carry its automation: posts:create --dm-keywords "guide" --dm-message "Here is the guide" --dm-reply "Sent you a DM!" (Instagram or Facebook must be a channel; --dm-platforms instagram,facebook makes one automation per channel; --dm-follow-first adds Follow first on Instagram); posts:update <id> --no-dm removes it.

TerminalTerminal
omnisocials automations:create --post-id 83778183 \ --keywords "guide,link" --dm "Here is the guide: https://example.com/guide" \ --reply "Sent you a DM!,Check your inbox" --max-sends 500 omnisocials automations:events 100000004 --outcome sent

Follow first on Instagram, with your own texts:

TerminalTerminal
omnisocials automations:update 100000004 --follow-first on \ --not-following-text "Almost there! Follow @yourbrand first, then tap the button again." \ --not-following-button "I follow now" omnisocials automations:events 100000004 --outcome waiting

A link button under the DM, then who tapped it and how the week went:

TerminalTerminal
omnisocials automations:update 100000004 \ --dm-button-title "Get the guide" --dm-button-url https://example.com/guide omnisocials automations:events 100000004 --filter clicked omnisocials automations:results 100000004 --period 7d omnisocials automations:events 100000004 --outcome not_sent omnisocials automations:story 100000004 5521

A follow-up 20 hours after the link, with a button:

TerminalTerminal
omnisocials automations:update 100000004 \ --follow-up-text "Did the guide help? Book a free call here" --follow-up-delay 20 \ --follow-up-button-title "Book a call" --follow-up-button-url https://example.com/call

On a Facebook Page, for a post published on the Page outside OmniSocials:

TerminalTerminal
omnisocials automations:create --platform facebook \ --facebook-post-id 104857600_123456789 \ --keywords "guide" --dm "Here is the guide: https://example.com/guide"

On X, a keyword in a DM to the X account (saved paused until X DMs are on for the workspace):

TerminalTerminal
omnisocials automations:create --platform x \ --keywords "guide" --dm "Here is the guide: https://example.com/guide" --paused omnisocials automations:update <id> --resume

Webhooks

CommandDescription
webhooks:listList the webhooks of the workspace and the organisation-wide ones made in the dashboard, with their scope. A webhook that switched off by itself (the person who set it up lost access) shows the reason under Last failure
webhooks:createCreate a webhook. Flags: --url (required), --events (required; comma-separated: post.scheduled, post.published, post.failed, post.approved, post.rejected). The signing secret is shown once
webhooks:get <id>Webhook details
webhooks:update <id>Update URL, events, or active state. Flags: --url, --events, --active <true|false>. --url on an organisation-wide webhook moves it to the key's workspace: from then on it gets only that workspace's events
webhooks:delete <id>Delete a webhook
webhooks:rotate-secret <id>Rotate the signing secret; the new secret is shown once. For 24 hours deliveries also carry X-OmniSocials-Signature-Previous, signed with the old secret (see Rotating the secret)
TerminalTerminal
omnisocials webhooks:create \ --url https://example.com/hooks/omnisocials \ --events post.published,post.failed

post.approved and post.rejected fire when the review of a post in an approval workflow ends. To be told about both:

TerminalTerminal
omnisocials webhooks:create \ --url https://example.com/hooks/omnisocials \ --events post.approved,post.rejected

Their payload names the decision, the approver and the reason; read the full review with posts:approval <id>.

See the Webhooks guide for event payloads and signature verification.

Last modified on November 30, 2026
Platform commandsMCP
On this page
  • Setup and configuration
  • Media
  • Folders
  • Hashtag sets
  • Post tags
  • Limits and feature requests
  • Automations (comment to DM)
  • Webhooks