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(notAuthorization: Bearer) - Content-Type:
application/json - Endpoint:
POST /posts
TikTok
Platform key: tiktok
| Field | Type | Required | Notes |
|---|---|---|---|
| platform | string | yes | "tiktok" |
| type | string | yes | "video" |
| caption | string | yes | Shown in TikTok caption |
| script | string | recommended | Spoken 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.
Platform key: instagram
Reel
| Field | Type | Required | Notes |
|---|---|---|---|
| platform | string | yes | "instagram" |
| type | string | yes | "reel" |
| caption | string | yes | Post caption with hashtags |
| video_url | string | no | URL 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
| Field | Type | Required | Notes |
|---|---|---|---|
| platform | string | yes | "instagram" |
| type | string | yes | "carousel" |
| caption | string | yes | Post caption |
| slides | list[string] | yes | List 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
| Field | Type | Required | Notes |
|---|---|---|---|
| platform | string | yes | "youtube" |
| type | string | yes | "video" |
| title | string | yes | Video title |
| description | string | recommended | Video description |
| pinned_comment | string | no | Comment 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
| Field | Type | Required | Notes |
|---|---|---|---|
| platform | string | yes | "x" |
| type | string | yes | "post" |
| text | string | yes | Tweet text |
| first_reply | string | no | Reply 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
| Field | Type | Required | Notes |
|---|---|---|---|
| platform | string | yes | "x" |
| type | string | yes | "thread" |
| tweets | list[string] | yes | List of tweet texts in order |
| first_reply | string | no | Reply 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
| Field | Type | Required | Notes |
|---|---|---|---|
| platform | string | yes | "threads" |
| type | string | yes | "post" |
| text | string | yes | Post 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."
}Platform key: linkedin
| Field | Type | Required | Notes |
|---|---|---|---|
| platform | string | yes | "linkedin" |
| type | string | yes | "post" |
| text | string | yes | Post 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:
| Error | Likely Cause |
|---|---|
HTTP 401: Unauthorized | Invalid or missing API key |
HTTP 403: Forbidden | Platform not connected in Blotato account |
HTTP 400: Bad Request | Invalid payload โ check required fields |
HTTP 429: Too Many Requests | Rate limited โ back off and retry |
HTTP 5xx | Blotato server error โ retry after delay |
connection timeout | Network 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.