Skip to main content
For your AI agent to work best with SocialSyncs, install the skill by running:
Or load the SKILL md file from github.com/lakshit77/socialsyncs-cli.
The SocialSyncs CLI is a command-line tool for automating social media posting across 28+ platforms. It wraps the Public API so you can schedule posts, manage integrations, and upload media directly from your terminal or shell scripts.

Installation

Verify the installation:

Authentication

Authenticate using the device flow — no client ID or secret needed:
This will:
  1. Display a one-time code in your terminal
  2. Open your browser to authorize
  3. Automatically save credentials to ~/.socialsyncs/credentials.json

Option 2: API Key

Set your SocialSyncs API key as an environment variable. You can get your API key from the SocialSyncs Settings page.
Add this to your shell profile (~/.bashrc, ~/.zshrc, etc.) so it persists across sessions.
OAuth2 credentials take priority over the API key when both are present.

Custom API URL (self-hosted)

If you’re running a self-hosted SocialSyncs instance, point the CLI to your server:

Self-Hosting the Auth Server

By default, socialsyncs auth:login uses the hosted auth server at cli-auth.socialsyncs.co. If you want to self-host the OAuth2 device flow server, see the Authentication page for the full setup guide.

Quick Start

Commands Overview

All commands output JSON, making the CLI easy to use in scripts and automation pipelines.