GuideOpen

Blotato Platform Reference

Per-platform field requirements, type values, and character limits.

Blotato Platform Reference

Per-platform field requirements, type values, and character limits.

API Overview

  • Base URL: https://backend.blotato.com/v2
  • Auth header: blotato-api-key: YOUR_API_KEY (not Authorization: Bearer)
  • Content-Type: application/json
  • Endpoint: POST /posts

TikTok

Platform key: tiktok

FieldTypeRequiredNotes
platformstringyes"tiktok"
typestringyes"video"
captionstringyesShown in TikTok caption
scriptstringrecommendedSpoken script for the video

Character limits:

  • caption: 2200 characters
  • script: no hard limit

Example payload:

{
  "platform": "tiktok",
  "type": "video",
  "caption": "How I built an AI agent in 24 hours #ai #agents #buildinpublic",
  "script": "Today I want to walk you through exactly how I built a fully autonomous AI agent..."
}

Notes:

  • TikTok video uploads typically require the video file to be attached separately or uploaded via Blotato's dashboard. The API posts the metadata; confirm video upload behavior in your Blotato account settings.

Instagram

Platform key: instagram

Reel

FieldTypeRequiredNotes
platformstringyes"instagram"
typestringyes"reel"
captionstringyesPost caption with hashtags
video_urlstringnoURL of the video to post

Example payload:

{
  "platform": "instagram",
  "type": "reel",
  "caption": "Built something pretty wild this week. AI agent that runs my entire content pipeline.\n\n#ai #automation #buildinpublic"
}

Carousel

FieldTypeRequiredNotes
platformstringyes"instagram"
typestringyes"carousel"
captionstringyesPost caption
slideslist[string]yesList of slide text strings

Example payload:

{
  "platform": "instagram",
  "type": "carousel",
  "caption": "5 mistakes that kill AI agents (and how to fix them)",
  "slides": [
    "Mistake 1: No persistent memory across runs",
    "Mistake 2: Skipping error handling",
    "Mistake 3: Too many tools โ€” agents get confused",
    "Mistake 4: No logging โ€” impossible to debug",
    "Mistake 5: No recovery mechanism after failure"
  ]
}

Character limits:

  • caption: 2200 characters
  • Individual slide text: no hard limit (keep concise for readability)

YouTube

Platform key: youtube

FieldTypeRequiredNotes
platformstringyes"youtube"
typestringyes"video"
titlestringyesVideo title
descriptionstringrecommendedVideo description
pinned_commentstringnoComment to pin after posting

Character limits:

  • title: 100 characters
  • description: 5000 characters

Example payload:

{
  "platform": "youtube",
  "type": "video",
  "title": "I Built an AI Agent That Runs My Entire Content Pipeline",
  "description": "In this video I walk through the full architecture...\n\nTimestamps:\n0:00 Intro\n2:00 Architecture overview\n8:00 Live demo",
  "pinned_comment": "Full source code and template linked below. Drop questions in the comments!"
}

Notes:

  • YouTube video uploads typically require the video file to be managed separately through Blotato's dashboard. Confirm video upload behavior in your Blotato account settings.

X (Twitter)

Platform key: x

Single Post

FieldTypeRequiredNotes
platformstringyes"x"
typestringyes"post"
textstringyesTweet text
first_replystringnoReply to add immediately after posting

Character limits:

  • text: 280 characters

Example payload:

{
  "platform": "x",
  "type": "post",
  "text": "Just shipped an AI agent that manages my entire content pipeline. Here's what I learned building it:"
}

Thread

FieldTypeRequiredNotes
platformstringyes"x"
typestringyes"thread"
tweetslist[string]yesList of tweet texts in order
first_replystringnoReply to add after last tweet

Character limits:

  • Each tweet in the thread: 280 characters

Example payload:

{
  "platform": "x",
  "type": "thread",
  "tweets": [
    "I built an AI agent that runs autonomously for 30+ days. Here's the architecture ๐Ÿงต",
    "1/ The hardest part isn't the AI โ€” it's state management. The agent needs to know where it left off.",
    "2/ Persistent memory is non-negotiable. Use a file-based or DB-backed store, not in-memory.",
    "3/ Every action needs to be logged. You can't debug what you can't observe.",
    "4/ Build recovery into the design. Agents will fail. Plan for it.",
    "5/ The best agents are boring. Reliable and predictable beats clever every time."
  ],
  "first_reply": "Full write-up and code on my GitHub. Link in bio."
}

Threads

Platform key: threads

FieldTypeRequiredNotes
platformstringyes"threads"
typestringyes"post"
textstringyesPost text

Character limits:

  • text: 500 characters

Example payload:

{
  "platform": "threads",
  "type": "post",
  "text": "The most underrated AI agent pattern: write state to disk after every action. Never lose progress again."
}

LinkedIn

Platform key: linkedin

FieldTypeRequiredNotes
platformstringyes"linkedin"
typestringyes"post"
textstringyesPost body text

Character limits:

  • text: 3000 characters (recommended), 100,000 (hard limit)

Example payload:

{
  "platform": "linkedin",
  "type": "post",
  "text": "I've been running an AI agent autonomously for 30 days straight. Here's what actually works โ€” and what breaks...\n\nThe biggest lesson: state management beats model quality every time.\n\nIf your agent can't recover from a crash, it will eventually lose everything. Build recovery-first."
}

Error Handling

All platform calls return a standard result dict. On failure, status is "failed" and error contains the reason:

ErrorLikely Cause
HTTP 401: UnauthorizedInvalid or missing API key
HTTP 403: ForbiddenPlatform not connected in Blotato account
HTTP 400: Bad RequestInvalid payload โ€” check required fields
HTTP 429: Too Many RequestsRate limited โ€” back off and retry
HTTP 5xxBlotato server error โ€” retry after delay
connection timeoutNetwork issue or Blotato service down

If a platform is not connected to your Blotato account, you'll get a 400 or 403. Go to your Blotato dashboard to connect the platform first.

Source: written by One Giant Leap.

Related entries

There are more like this in the members library

The Claude Code library holds 13,843 entries. Members can search all of them by meaning and read every one in full.