Quickstart

Get your first post published in 5 minutes.

Step 1: Get Your API Key

Sign up at app.socialsyncerapi.com/signup and grab your API key from the dashboard.

sk_abc123def456...

Step 2: Connect a Social Account

Generate an OAuth URL and redirect the user:

curl "https://api.socialsyncerapi.com/v1/connect/instagram?redirect_url=https://yourapp.com/callback"   -H "Authorization: Bearer sk_your_api_key"

Response:

{
  "authUrl": "https://www.facebook.com/v19.0/dialog/oauth?...",
  "state": "owner123:instagram"
}

Redirect the user to authUrl. After they authorize, they're redirected back to your callback with a code parameter.

Step 3: Post Content

curl -X POST https://api.socialsyncerapi.com/v1/posts   -H "Authorization: Bearer sk_your_api_key"   -H "Content-Type: application/json"   -d '{
    "content": "Hello from SocialSyncerAPI!",
    "platforms": [
      {"platform": "instagram", "accountId": "ig_user_id"}
    ],
    "publishNow": true
  }'

Response:

{
  "id": "post_abc123",
  "status": "published",
  "platforms": [
    {
      "platform": "instagram",
      "status": "published",
      "platformPostId": "17841400123456789",
      "platformPostUrl": "https://instagram.com/p/ABC123"
    }
  ]
}

Step 4: Post to Multiple Platforms

{
  "content": "Cross-posting to all platforms!",
  "mediaItems": [
    {"type": "image", "url": "https://example.com/photo.jpg"}
  ],
  "platforms": [
    {"platform": "instagram", "accountId": "ig_123"},
    {"platform": "facebook", "accountId": "fb_456"},
    {"platform": "threads", "accountId": "th_789"},
    {"platform": "tiktok", "accountId": "tt_012"},
    {"platform": "twitter", "accountId": "tw_345"}
  ],
  "publishNow": true
}

Next Steps