Social Posting API
for AI Agents
Your user connects their social accounts once. Your AI agent posts, schedules, and publishes to Instagram, X, LinkedIn, TikTok, YouTube, Pinterest, Threads, Facebook, and Telegram — via a single REST API.
Using Claude or ChatGPT instead of your own code? Social media toolkits over MCP →
Built for AI Agents
One-Time OAuth
The user connects their social accounts in UniLink once. Your agent never sees their passwords — only an API key scoped to publishing.
One Endpoint, Nine Platforms
Skip nine OAuth flows, nine SDKs, nine rate-limit policies. Send the post once — UniLink fans it out to every connected channel.
Schedule or Publish Now
Pass scheduledAt for queued publishing. Omit it to go live now. Same call, same response shape.
Supported Platforms
Instagram, X (Twitter), LinkedIn, Facebook, TikTok, YouTube, Pinterest, Telegram, Threads.
How It Works
The user owns the accounts. The agent owns the schedule. UniLink owns the OAuth tokens.
User connects socials in UniLink (once)
The user signs in to UniLink, opens Social Planner, and connects each network they want the agent to publish to. UniLink stores the OAuth tokens, refreshes them, and handles every platform's quirks.
User issues an API key for the agent
In Settings → API Keys, the user creates a publishing-scoped key and hands it to the AI agent. Keys can be revoked or rotated at any time without re-connecting any social account.
Agent publishes via REST
The agent calls /api/agents/social/post (or /schedule) with text, media, and a list of platforms. UniLink fans out to every connected network, returns per-platform IDs, and stores the result in analytics.
Quick Start
Three calls. Your agent is publishing across 9 networks.
1. Check which networks the user has connected
-H "X-API-Key: $UNILINK_API_KEY"
2. Publish a post right now
-H "X-API-Key: $UNILINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"platforms": ["instagram", "x", "linkedin"],
"text": "New release. See changelog 👇",
"media": ["https://cdn.unilink.us/launch.jpg"]
}'
3. Or schedule it for later
-H "X-API-Key: $UNILINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"platforms": ["tiktok", "youtube", "instagram"],
"text": "Friday drop 🎬",
"media": ["https://cdn.unilink.us/teaser.mp4"],
"scheduledAt": "2026-05-15T17:00:00Z"
}'
API Reference
What Agents Build With This
Marketing Co-Pilot
A SaaS company gives every customer a Claude/GPT agent that drafts and publishes weekly product updates across all their channels.
Newsdesk Bot
A media outlet's agent watches RSS feeds, summarises stories, and pushes them to Telegram, X, and LinkedIn within minutes.
Shop Cross-Poster
An e-commerce agent posts new product drops simultaneously to Instagram, Pinterest, and TikTok — with platform-aware copy.
Creator Assistant
A creator's personal AI schedules a month of content from a single brief and adapts captions per platform.
Works With Any Agent Framework
Plain HTTP. No SDK lock-in.
Claude (MCP)
Drop-in MCP tool
LangChain
HTTP tool + API key
OpenAI Agents
Function calling
CrewAI
Custom tool wrapper
AutoGPT
REST plugin
n8n / Zapier
HTTP request node
