None of these endpoints publish to social networks. Chain with Posting (
POST /unified/post/*) or the MCP publish tool when you are ready to go live.Authentication
All routes require a workspace API key or JWT session.workspace_id as a query parameter (UUID). With an API key, the keyโs workspace is authoritative โ workspace_id must match if you send both.
AI generation consumes AI credits on your plan (generation_long = 2 credits, image_generate = 5 credits per platform run).
Idea to content
Generate platform-specific post copy from a topic or idea. Mirrors MCP toolidea_to_content.
POST /unified/content/generate
Query parameters
Request body
*
idea can be empty if every requested platform has an entry in idea_by_platform.
Supported platforms: linkedin, instagram, facebook, bluesky, threads, tiktok, youtube, pinterest, or all.
object
Per-platform keys. Each value is either
{ "content": "..." } with full post text, or { "error": "..." } on failure for that platform.Content to image
Generate images from post copy. Mirrors MCP toolcontent_to_image.
POST /unified/image/generate
Query parameters
Request body
*
content can be omitted if every platform has content_by_platform.
Supported platforms: all, linkedin, instagram, facebook, threads, tiktok, pinterest, twitter (alias x), bluesky. Platforms run in parallel.
UUID
Postsiva unified media ID. Pass to
POST /unified/post/image as default_image_id when publishing.Image to content
Generate post copy from a single image URL. Mirrors MCPmedia_to_content with media_type=image.
POST /unified/image-to-content/generate
Query parameters
Request body
Supported platforms:
linkedin, instagram, threads, tiktok, pinterest, all.
Video to content
Generate post copy from a video URL. Mirrors MCPmedia_to_content with media_type=video.
POST /unified/video-to-content/generate
Query parameters
Request body
Supported platforms:
linkedin, instagram, threads, tiktok, pinterest, youtube, facebook, bluesky, all.
Analyze media (MCP / agent only)
Describe an image or video without generating post copy. Available via:- MCP tool
analyze_media - GPT Actions
POST /unified/gpt-actions/analyze_media - Workspace agent chat (
POST /workspace-agent/website/chat)
analyze_media when you need a neutral description before drafting, and media_to_content (or the image/video-to-content endpoints above) when you want publish-ready captions.
End-to-end pipeline
Example flowPOST /unified/content/generateโ draft LinkedIn + Instagram copyPOST /unified/image/generateโ create images from the LinkedIn captionPOST /unified/post/imageโ publish withdefault_image_idfrom step 2
MCP equivalents
Errors
Generated copy may exceed platform character limits. Trim or rephrase before publishing โ the posting endpoints enforce limits per network.
Next
Posting
Publish generated copy and images
Agent chat
Natural-language agent with the same tools
MCP tools
Tool catalog for AI agents