ContentStudio API plan is now available. Create automations using Claude, Zapier, n8n, make, etc. Explore plan!

ContentStudio
Product

Platform

Publish

Plan and schedule content

AI Studio

AI-generated captions, images

Analyze

Measure social media KPIs

Engage

Social media customer care

Social Listening

New

Follow every conversation

Discover

Manage and read feeds

Top features

Workspaces

Clip maker

Calendar/Planner

Smart scheduling

Content library

White-label

New

AI Library

Bulk scheduling

Approval workflow

Client management

White-label reseller

New

AI video generator

Competitor analytics

Automation

Google Ads Analytics

New

Meta Ads Analytics

New

See all features

right-arrow-icon
contentstudio-tour

ContentStudio overview tour

Discover how ContentStudio simplifies workflows, helps in scaling up and delivers the results you need.

Solutions

By Business Type

For solo creators

For agencies

For small business

For marketing teams

For enterprise

By network

Facebook

Facebook

Instagram

Instagram

X (Twitter)

X (Twitter)

Google Business Profile

Google Business Profile

LinkedIn

LinkedIn

TikTok

TikTok

Bluesky

Bluesky

Meta Threads

Meta Threads

YouTube

YouTube

Pinterest

Pinterest

Telegram

Telegram

CUSTOMER STORYnew-tab-icon

How Webeing scaled client results using smarter workflows with ContentStudio

40%

increase in productivity with ContentStudio

Resources

Info Hub

Blog

Help docs

Glossary

Integrations

Case studies

n8n templates

Free Tools

Facebook video downloader

New

X (Twitter) video downloader

New

AI caption generator

Facebook post generator

LinkedIn video downloader

TikTok hashtag generator

YouTube title generator

TikTok caption generator

X (Twitter) hashtag generator

See All

right-arrow-icon
Video libraryContentStudio academy
video library

Access our complete collection of step-by-step tutorials covering all ContentStudio features.

APIPricing

Book a demo


Sign in

contentstudio-cliai-icon

Run your social media from the terminal

Schedule posts, manage approvals, and upload media with the ContentStudio CLI. Run commands in bash and CI pipelines, or let Claude Code, Cursor, or Codex handle them.

$npm install -g contentstudio-cli
Set up with your agentRead the CLI guide

Works with your ContentStudio API key · npm or pnpm · every command speaks JSON

$contentstudio auth:login --api-key cs_••••••••# saves your key locally and verifies it$contentstudio --json accounts:list --platform linkedin{ "ok": true, "data": [ … ] }$contentstudio --json posts:create -c "Excited to share our Q2 roadmap" -i <linkedin_id> -t scheduled -s "2026-05-01 09:00:00"{ "ok": true, "data": { … } }

Set it up once, then let your agent drive

The CLI comes with a skill file that teaches your AI agent every ContentStudio command. Paste the setup into your agent, or run it yourself.

  1. 1

    Set up ContentStudio in Claude Code

    Install the CLI and the skill, then log in with your API key.

    Set up ContentStudio so I can manage social posts from here. 1. Install the CLI: npm install -g contentstudio-cli 2. Add the skill: npx skills add contentstudioio/contentstudio-agent 3. Ask me for my API key, then run: contentstudio auth:login --api-key <key> 4. Confirm it works: contentstudio workspaces:list

    Set up ContentStudio in Cursor

    The Agent runs each step in the integrated terminal and, by default, asks before running commands.

    Set up ContentStudio so I can manage social posts from here. 1. Install the CLI: npm install -g contentstudio-cli 2. Add the skill for Cursor: npx skills add contentstudioio/contentstudio-agent 3. Ask me for my API key, then run: contentstudio auth:login --api-key <key> 4. Confirm it works: contentstudio workspaces:list

    Set up ContentStudio in Codex

    Install the CLI and the skill, then log in with your API key.

    Set up ContentStudio so I can manage social posts from here. 1. Install the CLI: npm install -g contentstudio-cli 2. Add the skill for Codex: npx skills add contentstudioio/contentstudio-agent 3. Ask me for my API key, then run: contentstudio auth:login --api-key <key> 4. Confirm it works: contentstudio workspaces:list

    Connect ContentStudio to OpenClaw

    OpenClaw installs the ContentStudio skill from ClawHub. Then add the CLI and log in.

    $openclaw skills install @contentstudio-official/contentstudio$npm install -g contentstudio-cli$contentstudio auth:login --api-key cs_...

    Set up ContentStudio from your terminal

    Install, log in once, and set your active workspace. You can also authenticate with CONTENTSTUDIO_API_KEY.

    $npm install -g contentstudio-cli$contentstudio auth:login --api-key cs_...$contentstudio workspaces:use <workspace_id>
  2. 2

    Then just ask

    Once the skill is in, your agent picks the right commands on its own.

    • Schedule this changelog as a LinkedIn post for Monday at 9 AM.
    • Upload the images in ./launch and make one Instagram post each.
    • Show me what's still in draft for this week.
    • Approve the two menu posts in Bloom Bakery.

Try a command

Explore six commands you can use for everyday social media tasks. Select one to see how it works.

Schedule a post
# Scheduled post to a Facebook page with one image$contentstudio --json posts:create -c "Our latest blog post is live!" -i <account_id> -t scheduled -s "2026-05-01 10:00:00" -m https://example.com/hero.jpg{ "ok": true, "data": { … } }
Post to three networks at once
# Repeat -i for each account$contentstudio --json posts:create -c "Cross-platform announcement" -i <facebook_id> -i <linkedin_id> -i <twitter_id> -t scheduled -s "2026-05-01 09:00:00"{ "ok": true, "data": { … } }
Upload a local file
# Upload a local file$contentstudio --json media:upload --file ./hero.jpg# the response includes an _id you can pass as --media-id$contentstudio --json posts:create -c "Post with library asset" -i <account_id> -t draft --media-id <media_library_id>{ "ok": true, "data": { … } }
Preview before you send
# Prints the full request body and exits without touching the API$contentstudio --json posts:create --dry-run -c "Test" -i <account_id> -t scheduled -s "2026-05-01 10:00"
Approve with a note
$contentstudio --json posts:approve <post_id> --comment "LGTM, ship it"{ "ok": true, "data": { … } }# Preview without acting$contentstudio --json posts:approve <post_id> --dry-run
Check another workspace
# Switch workspace for one command. Your saved default stays the same.$contentstudio --json --workspace <other_workspace_id> accounts:list{ "ok": true, "data": [ … ] }

Find the command for any task

Commands are grouped by what they manage. Add --json to get structured output that your scripts and AI agents can read.

GroupCommandWhat it does
authauth:login --api-key cs_…Save and verify your key
auth:statusShow stored config
auth:whoamiCheck the key against the API
auth:logoutForget credentials
workspacesworkspaces:listAll workspaces on your account
workspaces:use <id>Set the active one
workspaces:currentShow the active one
discoveryaccounts:listConnected social accounts
campaigns:listCampaigns and folders
categories:listContent categories
labels:listLabels
team:listTeam members
postsposts:listFilter by status or date
posts:createFlags or a JSON body
posts:delete <id>Add --delete-from-social to remove it live
posts:approve <id>Approve with an optional comment
posts:reject <id>Send it back with a reason
commentscomments:list <post_id>Comments and notes on a post
comments:add … --noteInternal note, not public
comments:add … --mention <id>Tag a teammate
mediamedia:listFilter by type, sort, search
media:upload --file <path>Upload a local file
media:upload --url <url>Import from a link

Global flags: --json --workspace <id> --base-url <url> --version --help. Run contentstudio <command> --help for every option.

Copy-ready automation recipes

Use these scripts as a starting point for common social media workflows. Find the recipe you need, update the account details and content, and run it with the ContentStudio CLI.

Schedule a daily post for the next 7 days.

1#!/bin/bash2ACCOUNT="<facebook_page_id>"3CONTENT=(4  "Monday motivation 💪"5  "Tuesday tips: keep it simple"6  "Wednesday wisdom from the team"7  "Throwback Thursday"8  "Friday vibes 🎉"9  "Weekend prep — try this"10  "Sunday reflections"11)12for i in "${!CONTENT[@]}"; do13  DATE=$(date -d "+$((i+1)) day 09:00" '+%F %T')14  contentstudio --json posts:create \15    -c "${CONTENT[$i]}" \16    -i "$ACCOUNT" \17    -t scheduled \18    -s "$DATE"19done

Cross-platform campaign: the same post on multiple platforms.

1#!/bin/bash2TIME="2026-05-01 10:00:00"3FB=$(contentstudio --json accounts:list --platform facebook | jq -r '.data[0]._id')4LI=$(contentstudio --json accounts:list --platform linkedin | jq -r '.data[0]._id')5TW=$(contentstudio --json accounts:list --platform twitter  | jq -r '.data[0]._id')6contentstudio --json posts:create \7  -c "Big launch today 🚀" \8  -i "$FB" -i "$LI" -i "$TW" \9  -t scheduled \10  -s "$TIME" \11  -m https://example.com/launch.jpg

Upload a folder of images, one post per image.

1#!/bin/bash2ACCOUNT="<instagram_id>"3for img in ./photos/*.jpg; do4  RESP=$(contentstudio --json media:upload --file "$img")5  MEDIA_ID=$(echo "$RESP" | jq -r '.data._id')6  TIME=$(date -d "+1 hour" '+%F %T')7  contentstudio --json posts:create \8    -c "$(basename "$img" .jpg)" \9    -i "$ACCOUNT" \10    -t scheduled \11    -s "$TIME" \12    --media-id "$MEDIA_ID" \13    --post-type feed14done

Bulk-delete drafts older than 30 days.

1#!/bin/bash2CUTOFF=$(date -d '-30 days' '+%Y-%m-%d')3contentstudio --json posts:list --status draft --date-to "$CUTOFF" --per-page 100 \4  | jq -r '.data[]._id' \5  | while read id; do6      contentstudio --json posts:delete "$id"7    done

Auto-approve posts from a trusted creator.

1#!/bin/bash2TRUSTED_USER_ID="<user_id>"3contentstudio --json posts:list --status pending_approval --per-page 50 \4  | jq -r --arg u "$TRUSTED_USER_ID" '.data[] | select(.created_by == $u) | ._id' \5  | while read id; do6      contentstudio --json posts:approve "$id" --comment "auto-approved (trusted creator)"7    done

Post types and platform options

Create simple posts with command flags. For platform-specific settings, such as TikTok privacy or YouTube categories, pass a JSON file using --body post.json.

PlatformPost typesHow to set it
FacebookFeed, Reel, Story, Reel + Story--post-type reel+story
InstagramFeed, Reel, Story--post-type feed | reel | story
LinkedInFeed with imageFlags
X (Twitter)Feed with imageFlags
YouTubeVideos and Shortsyoutube_options: title, privacy, category, tags, license, made for kids
TikTokVideotiktok_options: privacy, duet, stitch, comments, disclosure flags
PinterestImage pinspinterest_options: title, destination link
Google Business ProfileEventsgmb_options: topic type, dates, title, CTA

Connect accounts from the terminal

  • OAuth platforms

    Facebook, Instagram, X, LinkedIn, YouTube, TikTok, Pinterest, Google Business Profile, Threads, and Tumblr. You get a one-time link to open in your browser.

    $contentstudio --json accounts:connect facebook
  • Bluesky

    No browser needed. Connect with your handle and an app password from bsky.app → Settings → App Passwords.

    $contentstudio --json accounts:add-bluesky --handle you.bsky.social --app-password xxxx-xxxx-xxxx-xxxx

    Use an app password, never your main password.

  • Facebook Groups

    Add a group by name, with an optional cover image.

    $contentstudio --json accounts:add-facebook-group --name "My Community Group"

CLI, MCP server, or API?

Each option connects to your ContentStudio account. Choose the one that fits how you want to work.

CLI (terminal)MCP serverREST API
What it's forScripts, CI, and coding agentsAI assistants you talk toBuilding ContentStudio into your product
Sign-inAPI keyYour ContentStudio accountAPI key
Strong atLocal uploads, bulk jobs, dry runsAnalytics, inbox, conversationCustom apps and pipelines
Used byBash scripts, CI/CD, Claude Code, Cursor, CodexChatGPT, Claude, Cursor, Grok, any MCP clientYour own backend

Every AI agent ContentStudio connects to

One account, one set of tools. Pick the agent you already work in, or browse all of them below.

Building something custom? Browse every ContentStudio integration.

  • ChatGPTTurn a conversation into a week of social content.
  • ClaudeDraft, review, and publish directly from chat.
  • Claude CodeManage your social workflow from the terminal.
  • GeminiPlan and publish with the Gemini CLI.
  • Grok BotPut everyday social media tasks on autopilot.
  • Hermes AgentConnect your terminal and favorite chat apps.
  • CursorTurn ideas and changelogs into social posts.
  • CodexLet your coding agent handle your social workflow.
  • OpenClawSchedule and manage posts from your own agent.
FAQs

FAQs

ContentStudio

Book a 30 min call

Have questions? Schedule a quick call and we will guide you through everything.

Book a free call

What is the ContentStudio CLI?

A command-line tool that controls your ContentStudio workspace from the terminal. It schedules posts, uploads media, handles approvals, and manages comments through the same API your dashboard uses, so every change shows up there right away.

How do I install it?

Run npm install -g contentstudio-cli (or pnpm install -g contentstudio-cli), then check it with contentstudio --version.

Where do I get an API key?

In your ContentStudio dashboard, go to Settings → API Keys → Generate new key. It starts with cs_. Then run contentstudio auth:login --api-key cs_....

Do I need to log in every time?

No. auth:login saves your key locally, so you do it once. Check it anytime with contentstudio auth:status.

How do I use it with Claude Code, Cursor, or Codex?

Install the skill with npx skills add contentstudioio/contentstudio-agent and pick your agent when prompted. After that, your agent uses the CLI without extra prompting.

How do I preview a command without sending it?

Add --dry-run to any command that changes something. It prints the full request and exits without calling the API.

When do I need a JSON body instead of flags?

For platform-specific settings like TikTok privacy, YouTube categories, Pinterest links, or Google Business events, and for first comments, labels, campaigns, and approvals. Pass the file with --body /path/to/post.json.

What happens if I hit a rate limit?

The CLI retries automatically on 429 and 5xx errors, up to 2 times with exponential backoff, so you don't need your own retry logic.

Why am I getting a NotFoundError?

Usually the post, account, or file belongs to a different workspace. Check which one is active with workspaces:current, or pass --workspace <id> for that command.

Grow faster on social, every
single week

Get insights, emerging platform trends, AI strategies, and product updates trusted by 100,000+ marketers.

Lawrence Giordano
Thomas Smith
Anthony Garcia
Matt Li Haoming
Angela R.
100,000+ marketers subscribed

ContentStudio

5.3K subscribers

  • •Step-by-step tutorial and how-tos
  • •Product deep dives and launch demos
Subscribe on YouTube

One scheduler for every social network

Social Media Schedulers→
Facebook logoFacebookX (Twitter) logoX (Twitter)Instagram logoInstagramLinkedin logoLinkedinYoutube logoYoutubeTiktok logoTiktokPinterest logoPinterestBluesky logoBlueskyThreads logoThreads

Product

  • Publishing
  • AI Studio
  • Analytics
  • Inbox
  • Social Listening
  • Discover

Features

  • Content Calendar
  • Smart Scheduling
  • Automation
  • Content Composer
  • Approval Workflow
  • AI Library
  • See all features

Developers

  • Integrations
  • API
  • MCP Server
  • ContentStudio CLI
  • Zapier
  • Make
  • n8n

AI Agents

  • ChatGPT
  • Claude
  • Gemini
  • Grok Bot
  • Hermes Agent
  • Cursor
  • Codex
  • OpenClaw

Upgrade from

  • Hootsuite
  • Buffer
  • Sprout Social
  • Sendible
  • Agorapulse
  • Metricool
  • SocialPilot
  • See all

Resources

  • Blog
  • Help Docs
  • Changelog
  • Glossary
  • Free Tools
  • Case Studies
  • Mobile App
  • Chrome Extension

Company

  • About Us
  • Plans & Pricing
  • Reviews
  • Careers
  • Write for Us
  • Affiliate Program
  • Brand Assets
  • Contact Us
contentstudio-logo
Download on the App StoreGet it on Google Play
Facebook iconX (Twitter) iconInstagram iconLinkedIn iconYouTube iconTikTok icon
4.74.7 star rating, 25,000+ reviews on Capterra and G2

16,500+ brands trust ContentStudio

SSL Secured
GDPR Compliant
CCPA Compliant

© 2026 ContentStudio. All Rights Reserved.

Privacy|Terms|GDPR|System status|Security policy|Child safety|Sitemap