Manage Social Media From Your AI
Use SociaHive via CLI, MCP Server, or REST API. Control posts, flows, and analytics from your terminal or AI agent.
Get started in three steps
Create an API Key
Go to Settings → API Keys, create a key with the scopes you need, and copy it. The key starts with sk_ and is shown only once.
Connect Your Tool
Set the SOCIAHIVE_API_KEY environment variable, then configure your CLI, MCP client, or HTTP headers.
Start Building
Manage posts, automate flows, view analytics, and more — all programmatically from your terminal or AI agent.
Command-Line Interface
The sociahive CLI lets you manage everything from your terminal. List accounts, create posts, schedule content, and build automation flows — all with simple commands that output JSON for easy piping and scripting.
Perfect for shell scripts, CI/CD pipelines, and quick ad-hoc operations.
# Set your API key
export SOCIAHIVE_API_KEY="sk_your_key_here"
export SOCIAHIVE_API_URL="https://sociahive.com/api/v1"
# List connected accounts
sociahive accounts list
# Create and publish a post
sociahive posts create \
--text "Hello from the CLI!" \
--platforms '[{"platform":"instagram","account_id":"..."}]' \
--schedule-type immediate
# Generate a flow with AI
sociahive flows generate \
--description "Auto-reply to comments containing 'price'" \
--account-id <account_id> \
--platform-user-id <platform_user_id>MCP Server for AI Agents
Connect SociaHive to Claude Code, Claude Desktop, Cursor, or any MCP-compatible AI agent. Your AI can create posts, build flows, and check analytics through natural language.
26 tools available — posts, flows, analytics, connected accounts, and more.
{
"mcpServers": {
"sociahive": {
"command": "sociahive-mcp",
"args": ["--stdio"],
"env": {
"SOCIAHIVE_API_KEY": "sk_your_key_here",
"SOCIAHIVE_API_URL": "https://sociahive.com/api/v1"
}
}
}
}REST API
Access 22 endpoints directly via HTTP. Authenticate with your API key using the X-API-Key header or Bearer token. Works with any language or HTTP client.
Build custom integrations, connect to Zapier or Make, or integrate SociaHive into your existing workflow tools.
# List connected accounts
curl -H "X-API-Key: sk_your_key_here" \
https://sociahive.com/api/v1/connected-accounts
# Create a post
curl -X POST \
-H "X-API-Key: sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{"text":"Hello!","platforms":[...]}' \
https://sociahive.com/api/v1/posts
# Get analytics overview
curl -H "X-API-Key: sk_your_key_here" \
"https://sociahive.com/api/v1/analytics?start_date=2025-01-01"What you can do
Manage Posts
Create, schedule, publish, and cancel posts across platforms.
Automate Flows
Build and manage DM automation flows with triggers and actions.
Schedule Content
Plan your content calendar and schedule posts for optimal times.
View Analytics
Track post performance and engagement metrics programmatically.
AI Flow Generation
Describe what you need in plain English and let AI build the flow.
Connected Accounts
List and manage connected social media accounts and platforms.