PostFlow Docs
by Wentix AI
Dashboard
PostFlow v2.5
Developer Documentation
Pricing Status Contacto Dashboard
πŸ” [ESC]

PostFlow Developer Documentation

PostFlow by Wentix AI is a single unified API and automation engine that empowers developers and AI agents to connect, publish, schedule, moderate, and analyze content seamlessly across 15 social platforms.

Enterprise Sandbox: All API keys have access to mock test environments and real production endpoints at https://publishred.wentixai.pro/api/v1.

⚑ Quickstart: Send Your First Multi-Platform Post

Publish a video reel to TikTok, Instagram, and YouTube Shorts simultaneously in a single API call:

curl -X POST https://publishred.wentixai.pro/api/v1/posts \
  -H "Authorization: Bearer wtk_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "caption": "Accelerate your AI workflows with PostFlow by Wentix AI! πŸš€ #ai #automation #growth",
    "mediaUrls": ["https://cdn.wentixai.pro/assets/videos/demo-reel.mp4"],
    "platforms": ["tiktok", "instagram", "youtube"],
    "platformOptions": {
      "youtube": {
        "title": "Automate Social Media with Wentix AI",
        "privacyStatus": "public",
        "madeForKids": false
      },
      "instagram": {
        "mediaType": "REELS",
        "shareToFeed": true
      },
      "tiktok": {
        "disableComment": false,
        "disableDuet": false
      }
    },
    "scheduledAt": "2026-09-30T15:00:00Z"
  }'

πŸ” Authentication & API Keys

PostFlow uses secure Bearer tokens to authenticate all requests. API keys can be generated in your Dashboard > Settings > API Keys.

Include your token in the standard HTTP Authorization header:

HTTP Authorization Header
Authorization: Bearer wtk_live_9f83a2e18bc0094d27a...
Keep your keys safe: Never commit your wtk_live_ secret key to client-side code, public GitHub repositories, or browser frontend scripts.

πŸ“¦ POST /api/v1/posts

Publish immediately or schedule a post across one or more connected social accounts.

Request Body Parameters

Field Type Presence Description
caption
string
Required
String Yes Primary caption text, hashtags, and mentions. Platform limits apply automatically.
platforms
string[]
Required
Array Yes Target platform identifiers: instagram, tiktok, youtube, facebook, linkedin, x, threads, pinterest, reddit, bluesky, mastodon, discord, slack, gbp, snapchat.
mediaUrls
string[]
Optional
Array No Array of public CDN, S3, or GCS URLs of images (JPG, PNG, WebP) or videos (MP4, MOV).
scheduledAt
ISO 8601 String
Optional
Datetime No UTC execution time (e.g., 2026-09-30T18:00:00Z). If omitted, publishes immediately.
platformOptions
object
Optional
Object No Platform-specific flags such as YouTube privacy settings, TikTok comment permissions, and Pinterest destination URLs.

Response 200 OK

200 OK Application/JSON
{
  "success": true,
  "data": {
    "id": "pst_893240a1bf",
    "status": "SCHEDULED",
    "scheduledAt": "2026-09-30T18:00:00Z",
    "caption": "Accelerate your AI workflows with PostFlow by Wentix AI! πŸš€",
    "platforms": ["tiktok", "instagram", "youtube"],
    "platformResults": {
      "tiktok": { "status": "QUEUED" },
      "instagram": { "status": "QUEUED" },
      "youtube": { "status": "QUEUED" }
    },
    "createdAt": "2026-09-27T18:00:00Z"
  }
}

πŸ€– Model Context Protocol (MCP) Server

PostFlow includes an official Model Context Protocol (MCP) server. This allows AI assistants like Claude Desktop, Cursor IDE, Windsurf, and Autonomous LLM Agents to natively inspect your connected accounts, publish posts, schedule campaigns, and query social analytics.

Claude Desktop & Cursor Configuration

claude_desktop_config.json / mcp.json
{
  "mcpServers": {
    "postflow": {
      "command": "npx",
      "args": ["-y", "@wentix/postflow-mcp-server"],
      "env": {
        "POSTFLOW_API_KEY": "wtk_live_YOUR_API_KEY"
      }
    }
  }
}

Available MCP Tools

  • postflow_list_accounts: Returns all connected social profiles, health status, and follower counts.
  • postflow_publish_post: Creates and schedules posts with automatic media validation and multi-network formatting.
  • postflow_get_post_analytics: Queries real-time views, likes, shares, comments, and engagement rates.
  • postflow_moderate_comments: Lists and replies to comments across Facebook, Instagram, TikTok, and YouTube.

πŸ“Š Bulk CSV Scheduling Engine

You can schedule hundreds of posts across all 15 platforms in one click by uploading a formatted CSV spreadsheet.

Sample Templates Available: Download our ready-to-use CSV templates directly from your dashboard or reference the column mappings below.
CSV Column Header Required Example Value Description
caption Yes "Weekly Podcast Ep #42 is live! πŸ”₯" Text body and hashtags.
media_url No "https://cdn.wentixai.pro/ep42.mp4" Direct link to video or image.
platforms Yes "instagram,tiktok,youtube,x" Comma-separated platform keys.
scheduled_time Yes "2026-10-01 14:00" Target publishing date and time.
title No "AI Video Generation in 2026" Required for YouTube and Pinterest.

πŸ“Έ Instagram Platform Guide

Supports Instagram Professional (Business & Creator) accounts for Publishing Reels, Photo Carousels, Stories, and Single Images.

  • Reels: 9:16 aspect ratio (1080x1920), up to 90 seconds, MP4/MOV container.
  • Carousels: Up to 10 images or videos in 1:1, 4:5, or 16:9 aspect ratios.
  • Collaborator Tags: Invite co-authors with collaboratorUsernames: ["@wentixai"].
  • Audio & Music: Add custom audio or trigger Instagram Audio ID integration.

🎡 TikTok Platform Guide

Publish short-form videos and multi-photo slideshows directly to TikTok personal and business profiles.

  • Commercial Music Library (CML): Automatic licensing checks for commercial business accounts.
  • Photo Mode: Multi-image carousel posts with background sound tracks.
  • Privacy & Permissions: Toggle disableComment, disableDuet, and disableStitch per post.

▢️ YouTube (Shorts & Standard Video)

Upload videos of any duration, automatically tag YouTube Shorts, and organize content into playlists.

  • Shorts Detection: Vertical videos under 60 seconds are automatically designated as Shorts.
  • Metadata: Custom video title (up to 100 chars), description (5,000 chars), tags, category ID, and custom thumbnail upload.

πŸ’Ό LinkedIn (Profiles & Company Pages)

Publish rich-media updates, multi-page PDF documents/carousels, and long-form articles to LinkedIn Personal Profiles and Organization Pages.

🐦 X / Twitter (Tweets, Threads & Media)

Post standalone tweets, automated multi-tweet threads, polls, and media attachments with support for X Premium long-form character limits.

πŸ’¬ Discord & Slack Channel Bots

Dispatch rich embeds, notifications, and media drops directly to Discord text channels and Slack workspaces via incoming webhooks or bot tokens.

πŸ“ Google Business Profile (GBP)

Publish local business updates, event announcements, special offers with call-to-action buttons (Call, Order, Learn More), and photos across multiple physical locations.