REST APIv1

Unified Social Media API

One endpoint to publish, schedule, and manage content across 13+ platforms. SocialRouter handles OAuth, media optimization, retries, and delivery tracking.

One request.
Every platform.

  • Publish to Twitter, LinkedIn, Facebook, Instagram, and 9 more from one integration
  • Media auto-optimized per platform requirements
  • Schedule or publish immediately
  • Built-in retry and delivery tracking
import SocialRouter from "socialrouter"

const client = new SocialRouter(process.env.SR_API_KEY)

const result = await client.post({
content: "Launching v2.0! Check it out.",
platforms: ["twitter", "linkedin", "facebook"],
media: ["./launch-banner.png"],
scheduledTime: "2026-03-01T09:00:00Z"
})

console.log(result.id, result.status) // "scheduled"

Everything you need to ship social features.

Posts

Create, schedule, and publish content across platforms in a single call.

POSTGETDELETE

Connections

Manage OAuth flows, list connected accounts, and refresh tokens.

POSTGETPUT

Media

Upload images and video. Auto-optimized per platform requirements.

POSTGET

Analytics

Post performance, engagement metrics, and audience insights.

GET

Webhooks

Subscribe to events with durable delivery that survives your downtime.

POSTGETDELETE

Content Safety

Pre-publish moderation and per-platform ToS compliance checks.

POSTGET

Simple, secure authentication.

One API key in the X-API-Key header. That's it.

  • Generate keys from the dashboard in seconds
  • Scoped permissions per key
  • Rate-limited per key for safety
  • Rotate keys without downtime
auth.sh
curl -X GET \
https://api.socialrouter.eu/v1/posts \
-H "X-API-Key: sr_live_abc123..."
// => 200 OK
// { "data": [...], "meta": { "total": 42 } }
99.9%
Uptime SLA on Enterprise
<200ms
Median API response time
1,000
Requests per minute per key

Built for production traffic.

  • Automatic retries on platform failures
  • Rate-limit-aware queuing per platform
  • Per-platform delivery tracking and status
  • Webhook delivery that survives your downtime

13+ platforms. One integration.

Bluesky
Facebook
Instagram
LinkedIn
Telegram
Pinterest
Reddit
Snapchat
Threads
TikTok
Twitter / X
YouTube
Bluesky
Facebook
Instagram
LinkedIn
Telegram
Pinterest
Reddit
Snapchat
Threads
TikTok
Twitter / X
YouTube

See it in action.

Walk through the API with us and see how it fits your product.