Media and Labels

Manage library assets and campaign labels from the terminal.

Two small command groups: fopost media for the workspace media library, fopost labels for the labels that organise posts into campaigns. Both need a workspace: --workspace or the default saved by auth login.

Media

fopost media list
fopost media upload ./a.png ./b.mp4     # several files, one call
fopost media delete med_4c2a --yes

upload sends local files to the library, where the composer, posts create --media, and the API all see them. list shows id, type, name, size, and created time. delete prompts for confirmation unless -y/--yes is passed.

Labels

fopost labels list
fopost labels create --name "Q4 Launch" --color "#e11d48"
fopost labels delete lbl_9a1f --yes

create requires --name; --color defaults to a blue. Deleting a label unlinks it from every post carrying it. The posts stay.

Labels come into their own in analytics, where top-posts --label rolls a whole campaign up. See Labels for the concept.

Next

Related documentation
  • CLI

    Schedule, publish, and inspect FoPost content from your terminal, as a single static binary.

  • Posts

    Create, schedule, publish, and inspect posts from the terminal.

  • Accounts and Workspaces

    Inspect connected accounts, their health, and your workspaces.

  • Analytics

    Read cross-account performance numbers without leaving the terminal.

  • Automations and Webhooks

    Trigger automations and manage webhook subscriptions from the terminal.

  • Scripting

    JSON output, exit codes, and shell completion for automation.

  • Media Library

    One place for images and video, with AI alt text and search that works.

  • Labels

    Organise posts by campaign or client, and get reporting for free.

Was this helpful?

On this page