# PostForAI > Developer-first social publishing REST API and native MCP 2025-11-25 server across 11 official platforms. Updated 2026-11-26. ## Core URLs - Homepage (EN): https://postforai.com/ - Homepage (PT-BR): https://postforai.com/pt - Quickstart & MCP Guide: https://postforai.com/docs - Interactive API Reference (Scalar): https://postforai.com/docs/api - OpenAPI 3.1 Spec: https://postforai.com/openapi.json - Full LLM Reference: https://postforai.com/llms-full.txt - Privacy Policy: https://postforai.com/privacy - Terms of Service: https://postforai.com/terms ## Endpoints - REST API base: https://postforai.com/v1 (Auth: X-API-Key or Authorization: Bearer sp_live_… / sp_test_…) - MCP Server (Streamable HTTP 2025-11-25): https://postforai.com/mcp (Auth: API Key or OAuth 2.1 DCR + PKCE S256) - OAuth Protected Resource Metadata (RFC 9728): https://postforai.com/.well-known/oauth-protected-resource - OAuth Authorization Server Metadata (RFC 8414): https://postforai.com/.well-known/oauth-authorization-server ## Supported Platforms (11 official APIs) instagram, facebook, tiktok, youtube, linkedin, x, threads, pinterest, discord, telegram, bluesky ## Pricing (USD / organization) - Free: $0/mo USD (2 accounts, 100 posts/mo, 1 webhooks) - Starter: $10/mo USD (15 accounts, 1,500 posts/mo, 5 webhooks) - Pro: $29/mo USD (75 accounts, 10,000 posts/mo, 10 webhooks) - Scale: $99/mo USD (300 accounts, 50,000 posts/mo, 25 webhooks) ## REST Endpoints Summary - GET /v1/me — Organization, active plan, environment, and key permissions - GET /v1/members — Organization members - GET /v1/platforms — Official platform catalog and BYO policy - GET|PUT|DELETE /v1/oauth-apps[/{platform}] — Per-org BYO OAuth apps (X requires BYO) - POST /v1/social-accounts/auth-url — Generate stateless B2B OAuth authorization URL - POST /v1/social-accounts/connect — Direct connect for Discord webhook, Telegram bot, or Bluesky app password - GET|DELETE /v1/social-accounts[/{id}] — List, inspect, or disconnect accounts; GET /{id}/capabilities - GET|PUT|DELETE /v1/media[/{id}] — Direct binary upload (<= 100 MB) and asset management - POST /v1/media/upload-url & POST /v1/media/{id}/confirm — Presigned Cloudflare R2 upload (up to 4 GB) - POST|GET|PATCH|DELETE /v1/posts[/{id}] — Create (with Idempotency-Key), list, update, schedule (UTC ISO-8601), or delete posts - POST /v1/posts/{id}/publish-now — Immediately enqueue a draft or scheduled post - GET /v1/post-results[/{id}] — Per-account publish results; POST /{id}/resolve-uncertain for ambiguous upstream outcomes - GET|POST|PATCH|DELETE /v1/webhooks[/{id}] — Manage HTTPS webhooks (SSRF-checked, HMAC-SHA256 signed) - POST /v1/webhooks/{id}/test, /rotate-secret, GET /deliveries, POST /deliveries/{deliveryId}/replay ## Platform Matrix - Instagram (`instagram`): auth=oauth, byo=optional, formats=[image, carousel, reel, story] - Facebook Pages (`facebook`): auth=oauth, byo=optional, formats=[text, image, carousel, video, reel, story_video] - TikTok (`tiktok`): auth=oauth, byo=optional, formats=[video, photos, draft] - YouTube (`youtube`): auth=oauth, byo=optional, formats=[video, short, thumbnail, playlist] - LinkedIn (`linkedin`): auth=oauth, byo=optional, formats=[text, image, multi_image, video, document, poll, article] - X (Twitter) (`x`): auth=oauth, byo=required, formats=[text, image, video, poll] - Threads (`threads`): auth=oauth, byo=optional, formats=[text, image, video, carousel, poll, gif, text_attachment, spoiler] - Pinterest (`pinterest`): auth=oauth, byo=optional, formats=[image, video] - Discord (`discord`): auth=webhook, byo=none, formats=[text, image, video, carousel] - Telegram (`telegram`): auth=bot_token, byo=none, formats=[text, image, video, carousel] - Bluesky (`bluesky`): auth=app_password, byo=none, formats=[text, image, video] ## MCP Tools (25 tools on https://postforai.com/mcp) - `postforai_list_platforms` (accounts:read): List supported social platforms - `postforai_get_organization` (organization:read): Get active organization and quotas - `postforai_list_social_accounts` (accounts:read): List connected social accounts - `postforai_get_social_account_capabilities` (accounts:read): Get social account capabilities - `postforai_list_oauth_apps` (accounts:read): List BYO OAuth apps - `postforai_create_auth_url` (accounts:write): Create B2B OAuth authorization URL - `postforai_connect_direct_account` (accounts:write): Connect direct-credential social account - `postforai_disconnect_social_account` (accounts:write): Disconnect social account - `postforai_list_media` (media:read): List uploaded media assets - `postforai_create_media_upload_url` (media:write): Create presigned R2 media upload URL - `postforai_confirm_media_upload` (media:write): Confirm presigned media upload - `postforai_delete_media` (media:write): Delete media asset - `postforai_create_post` (posts:write): Create, schedule, or publish a social post - `postforai_list_posts` (posts:read): List social posts - `postforai_get_post` (posts:read): Get post details and targets - `postforai_update_post` (posts:write): Update draft or scheduled post - `postforai_publish_post_now` (posts:write): Publish draft or scheduled post immediately - `postforai_delete_post` (posts:write): Delete post - `postforai_list_post_results` (posts:read): List per-account post publish results - `postforai_resolve_uncertain_result` (posts:write): Resolve uncertain publish result - `postforai_list_webhooks` (webhooks:read): List outbound webhooks - `postforai_create_webhook` (webhooks:write): Create outbound webhook - `postforai_test_webhook` (webhooks:write): Send signed test webhook - `postforai_list_webhook_deliveries` (webhooks:read): List webhook delivery logs - `postforai_delete_webhook` (webhooks:write): Delete outbound webhook ## Safety & Execution Guarantees - At-most-once publishing via Cloudflare Queues with lease + CAS transitions; ambiguous upstream failures enter `uncertain` status. - Sandbox mode via `sp_test_` keys executes against virtual accounts (`test_:`) without touching live platforms. - All third-party OAuth tokens and BYO client secrets are encrypted at rest with AES-256-GCM. - MCP destructive tools require explicit `confirm: true`; `postforai_create_post` requires `idempotency_key`.