Publish to 11 social networks from one request.

PostForAI gives your apps and AI agents one clean REST API and MCP server across 11 official social platforms.

curl -X POST https://postforai.com/v1/posts \
  -H "X-API-Key: sp_test_your_key" \
  -H "Idempotency-Key: launch-2026-11-26" \
  -H "Content-Type: application/json" \
  -d '{
    "caption": "Shipping v2 across every channel.",
    "social_accounts": ["test_x:demo", "test_linkedin:demo", "test_instagram:demo"],
    "scheduled_at": null
  }'

Toggle sandbox targets

Select channels below to update the request live.

From zero to published in three steps

Skip eleven separate SDKs, manual token refreshes, and brittle background workers.

1

Connect social accounts

Authorize accounts via single-use OAuth links for your team or end users, or connect Discord, Telegram, and Bluesky directly.

2

Plug in your code or AI agent

Generate a sp_test_ key to test in sandbox mode, call /v1/posts from any backend, or point Claude, ChatGPT, and Cursor to /mcp.

3

Publish, schedule, and track

Send text, images, carousels, and videos up to 4 GB, schedule in UTC ISO-8601, and track every platform outcome via signed webhooks.

Built for reliable publishing at scale

PostForAI handles idempotency, large media files, encrypted OAuth tokens, and webhook retries so your team does not have to.

Never double-post

Send an Idempotency-Key on every request. When an upstream network times out ambiguously, targets pause in uncertain status instead of double-posting.

Test end-to-end before going live

Use sp_test_ keys to exercise posts, schedules, and webhook deliveries against virtual accounts like test_x:demo without touching real profiles.

Images and videos up to 4 GB

Stream assets up to 100 MB directly or request presigned Cloudflare R2 upload URLs for large video files with automatic garbage collection.

Signed webhooks with replay

Verify every delivery with HMAC-SHA256 signatures, SSRF checks, 24-hour secret rotation overlap, and one-click delivery replay.

11 official platforms

Official APIs only. No scraping, no session cookies, and all credentials encrypted at rest with AES-256-GCM.

Instagram instagram
OAuth 2.0
Managed or BYO
image, carousel, reel, story
Facebook Pages facebook
OAuth 2.0
Managed or BYO
text, image, carousel, video, reel, story_video
TikTok tiktok
OAuth 2.0
Managed or BYO
video, photos, draft
YouTube youtube
OAuth 2.0
Managed or BYO
video, short, thumbnail, playlist
LinkedIn linkedin
OAuth 2.0
Managed or BYO
text, image, multi_image, video, document, poll, article
X (Twitter) x
OAuth 2.0
Bring your own app (required)
text, image, video, poll
Threads threads
OAuth 2.0
Managed or BYO
text, image, video, carousel, poll, gif, text_attachment, spoiler
Pinterest pinterest
OAuth 2.0
Managed or BYO
image, video
Discord discord
Webhook URL
Direct connect
text, image, video, carousel
Telegram telegram
Bot Token
Direct connect
text, image, video, carousel
Bluesky bluesky
App Password
Direct connect
text, image, video

Simple USD pricing

Per-workspace billing via Stripe. Every new workspace starts with a 3-day Pro trial with no credit card required.

Free

$0 USD

  • Social accounts2
  • Posts per month100
  • HMAC webhooks1
  • API keys3
  • R2 media storage2 GB
Start free

Starter

$10 USD/mo

  • Social accounts15
  • Posts per month1,500
  • HMAC webhooks5
  • API keys10
  • R2 media storage10 GB
Choose Starter

Scale

$99 USD/mo

  • Social accounts300
  • Posts per month50,000
  • HMAC webhooks25
  • API keys20
  • R2 media storage100 GB
Choose Scale

Frequently asked questions

Direct answers on MCP, OAuth, reliability, and billing.

What is PostForAI?

PostForAI is a developer-first social publishing REST API and native MCP 2025-11-25 server that lets software teams and AI agents publish text, images, carousels, and videos across 11 official platforms (Instagram, Facebook, TikTok, YouTube, LinkedIn, X, Threads, Pinterest, Discord, Telegram, and Bluesky) through one idempotent API.

How do I connect Claude, ChatGPT, or Cursor via MCP?

Point your assistant to /mcp. Clients automatically discover OAuth 2.1 (Dynamic Client Registration + PKCE S256) and open a workspace consent screen, or you can pass an API key via X-API-Key. Creating posts requires an idempotency_key, and destructive tools require confirm=true.

Do I need my own OAuth apps?

Only X (Twitter) requires Bring-Your-Own OAuth credentials so each organization controls its own X API tier. For Instagram, Facebook, TikTok, YouTube, LinkedIn, Threads, and Pinterest, you can start with managed OAuth or add your own AES-256-GCM encrypted credentials.

How does PostForAI prevent duplicate posts?

POST /v1/posts supports Idempotency-Key replay and conflict checks, while the queue worker enforces at-most-once publishing in two phases. If a social network returns an ambiguous timeout after sending, the target is marked uncertain instead of retrying blindly.

What are the USD plans and is there a sandbox mode?

Plans are billed in USD: Free ($0/mo, 2 accounts, 100 posts), Starter ($10/mo, 15 accounts, 1,500 posts), Pro ($29/mo, 75 accounts, 10,000 posts), and Scale ($99/mo, 300 accounts, 50,000 posts). New accounts include a 3-day Pro trial with no card required, and sp_test_ keys run end-to-end against virtual sandbox accounts like test_x:demo.