The Social Media API for Developers & AI Agents
REST for products. MCP for AI agents. One unified, high-performance API to schedule, publish, and track social content across 14+ networks with automated media transcoding.
https://agent.autoposter.ai/v1Code Snippets & Examples
Ready-to-use snippets in cURL, TypeScript, and Python.
curl -X POST https://agent.autoposter.ai/v1/posts \
-H "Authorization: Bearer ap_live_98319241" \
-H "Content-Type: application/json" \
-d '{
"text": "Excited to launch AutoPoster AI v2.4! 🚀",
"socialAccountIds": ["acc_linkedin_1", "acc_twitter_2"],
"scheduledAt": "2026-10-06T14:00:00Z",
"timezone": "America/New_York",
"mediaUrls": ["https://cdn.example.com/hero.jpg"],
"isDraft": false
}'Sample Response (200 OK):
{
"id": "post_89123",
"status": "scheduled",
"scheduledAt": "2026-10-06T14:00:00.000Z",
"socialAccountIds": ["acc_linkedin_1", "acc_twitter_2"],
"createdAt": "2026-10-05T11:45:00.000Z"
}Architected for Developer Scale
Engineered to handle high-throughput publishing queues, media pipelines, and complex cross-network schemas.
14+ Networks, Single Request
Post to LinkedIn, X, TikTok, Instagram, YouTube Shorts, Threads, Bluesky, Pinterest, and Facebook with one POST call. AutoPoster maps parameters and character limits automatically.
Automated Video Transcoding
Submit raw video URLs. Our serverless compute engine automatically transcodes to platform-compliant formats (H.264/AAC, 9:16 vertical, bitrate matching) in seconds.
Multi-Tenant Workspaces
Built for SaaS and agency tools. Separate client accounts into distinct workspaces, control member access, and manage rate limits per workspace key.
Live Status & Permalinks
Retrieve instant delivery status, verified live URLs, and platform receipts for your database via REST or MCP.
Draft & Approval Safeguards
Create posts as drafts (isDraft: true) that can be previewed and signed off in the AutoPoster web dashboard before live publication.
Timezone Normalization
Pass IANA timezone names (e.g. America/New_York) along with natural date strings. AutoPoster handles DST shifts and execution UTC calculations.
REST API vs MCP: Which Should You Use?
AutoPoster AI provides both protocols so you can choose the best interface for your architecture.
| Feature / Use Case | Developer REST API | Model Context Protocol (MCP) |
|---|---|---|
| Target Client | Backend apps, SaaS platforms, cron jobs, microservices | Claude Desktop, Cursor, ChatGPT, autonomous AI agents |
| Interaction Style | Deterministic programmatic HTTP requests | Conversational natural language prompt execution |
| Connection Protocol | Standard HTTPS JSON REST endpoints | Server-Sent Events (SSE) or local Stdio subprocess |
| Delivery Receipts | Live permalinks & status via GET /v1/posts/:id | Live receipts via autoposter_get_post_status |
| Best For | Building social schedulers, content repurposing tools | Pair-programming, drafting changelogs, marketing chat |
Start building with AutoPoster API
Get your API key, explore live endpoints, and start publishing to 14+ channels with a few lines of code.