Skip to content

Dry-run a post before creating it

POST
/posts/plan
curl --request POST \
--url https://api.dropslate.top/v1/posts/plan \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "targets": { "accountIds": [ "example" ], "groupId": "example" }, "mediaIds": [ "example" ], "text": "example", "title": "example", "tags": [ "example" ], "perPlatform": { "youtube": { "visibility": "public", "madeForKids": false, "useCoverAsThumbnail": true, "category": "27", "language": "uk", "audioLanguage": "en-US", "recordingDate": "2026-09-01", "license": "youtube", "embeddable": true, "publicStatsViewable": true, "containsSyntheticMedia": false, "paidProductPlacement": false, "notifySubscribers": true }, "tiktok": {}, "instagram": { "contentType": "reels", "collaborators": [ "example" ], "shareToFeed": true, "altText": "example", "coverMs": 1 }, "facebook": { "contentType": "photo", "link": "https://example.com" }, "threads": { "topicTag": "example", "linkAttachment": "https://example.com", "altText": "example", "replyControl": "everyone" } }, "overrides": { "threads": { "text": "A shorter line for Threads." }, "youtube": { "title": "The full title", "tags": [ "dogs", "history" ] } }, "when": "now" }'

CLAUDE.md “plan before create”: no side effects, no write scope needed. Same body as POST /posts without confirm; lists a row and any issue per account. Call this first and show its table before POST /posts.

Media typeapplication/json
object
targets
required
object
accountIds
Array<string>
groupId
string
mediaIds
Array<string>
text
string
title
string
tags
Array<string>
perPlatform

Per-network settings keyed by platform. Unknown keys are refused.

object
youtube

Everything videos.insert can write. Not settable through the YouTube API (set in YouTube Studio): Test & Compare, recording location, end screens, cards, monetization, comments.

object
visibility
string
default: public
Allowed values: public unlisted private
madeForKids
boolean
useCoverAsThumbnail

The first image of the post becomes the thumbnail (the channel must be verified for custom thumbnails).

boolean
default: true
category

VideoCategories id; default 22 (People & Blogs).

string
/^[0-9]{1,3}$/
Example
27
language

BCP-47 language of the title and description.

string
/^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$/
Example
uk
audioLanguage

BCP-47 language spoken in the video.

string
/^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$/
Example
en-US
recordingDate
string format: date
Example
2026-09-01
license
string
default: youtube
Allowed values: youtube creativeCommon
embeddable
boolean
default: true
publicStatsViewable
boolean
default: true
containsSyntheticMedia

YouTube altered or synthetic content disclosure.

boolean
paidProductPlacement
boolean
notifySubscribers
boolean
default: true
tiktok
object
instagram
object
contentType
string
default: reels
Allowed values: reels post story carousel
collaborators

Up to 3 usernames invited as collaborators (1.3.0: was 20).

Array<string>
<= 3 items
shareToFeed

Reels only.

boolean
default: true
altText

The image of a feed post (1.3.0); not sent on carousels yet.

string
<= 1000 characters
coverMs

The Reel cover frame, milliseconds into the video (1.3.0).

integer
facebook
object
contentType
string
default: video
Allowed values: photo video reel story text
link

Text posts only (1.3.0). A video takes the post title.

string format: uri
<= 2048 characters /^https:///
threads

Base tags are not appended to a thread; it takes one topicTag. replyControl is accepted and ignored since 1.3.0.

object
topicTag
string
>= 1 characters <= 50 characters /^[^.&]+$/
linkAttachment

A link preview on a thread with no files (1.3.0).

string format: uri
<= 2048 characters /^https:///
altText

Images (1.3.0).

string
<= 1000 characters
replyControl
string
Allowed values: everyone accounts_you_follow mentioned_only
overrides

A network’s own text, title and tags instead of the post’s: each account of that network gets overrides.<network>.text ?? text, and so on. Only networks with a connector.

object
youtube
object
text
string
<= 10000 characters
title
string
<= 500 characters
tags
Array<string>
<= 50 items
instagram
object
text
string
<= 10000 characters
title
string
<= 500 characters
tags
Array<string>
<= 50 items
facebook
object
text
string
<= 10000 characters
title
string
<= 500 characters
tags
Array<string>
<= 50 items
threads
object
text
string
<= 10000 characters
title
string
<= 500 characters
tags
Array<string>
<= 50 items
tiktok
object
text
string
<= 10000 characters
title
string
<= 500 characters
tags
Array<string>
<= 50 items
Example
{
"threads": {
"text": "A shorter line for Threads."
},
"youtube": {
"title": "The full title",
"tags": [
"dogs",
"history"
]
}
}
when
One of:
string
Allowed values: now draft

One row per account, an ok flag and the quota this would use.

Media typeapplication/json
object
ok
boolean
status
string
Allowed values: draft queued
rows
Array<object>
object
accountId
string
platform
string
nullable
Allowed values: youtube instagram facebook threads
account
string
nullable
publishAt
string format: date-time
nullable
publishAtLocal
string
nullable
tz
string
issues
Array<object>

One check’s result. The validator’s own issues carry the facts their sentence names beside it, so a client can say it in another language; a network’s issue may carry none.

object
code
string
message
string
hint
string
severity
string
Allowed values: error info
platform

The network the issue is about.

string
Allowed values: youtube instagram facebook threads
limit

What the network allows, in the unit the code counts in.

number
nullable
actual

What the post has, in the same unit.

number
nullable
unit

What a length is counted in.

string
Allowed values: characters bytes
subject

The one thing the sentence names: a file, an account, a tag, a zone, an extension.

string
expected

What would be accepted instead: a format, a ratio or a range.

string
contentType

The content type the check was against (reel, story, post…).

string
state

A file’s or an account’s state, as the sentence says it.

string
ok
boolean
quota
object
plan
string
posts
object
used
integer
limit

null: the plan sets no limit.

integer
nullable
requested
integer
ok
boolean
table

The same monospaced table MCP tools show.

string
Example
{
"status": "draft",
"rows": [
{
"platform": "youtube",
"issues": [
{
"severity": "error",
"platform": "youtube",
"unit": "characters"
}
]
}
]
}

A body that is not one, or a time or zone that does not exist (invalid_time, invalid_timezone).

Media typeapplication/problem+json
object
type

Where the code is explained: the errors page of the API reference, at the code.

string format: uri
title

The code again, for readers of RFC 9457.

string
status
integer
code
required
string
message
required
string
hint
string
details

Facts some codes carry: retryAfterSeconds on rate_limited, rows on plan_has_issues, kind, plan, limit, used and upgradeUrl on quota_exceeded. A quota kind is one of accounts, posts, storage, file, members, groups, api and mcp; for groups, api and mcp (a plan without groups, without the public API, or one that lets an agent read but not publish) limit and used are 0.

limit

quota_exceeded only: what the plan includes.

number
used

quota_exceeded only: what is in use.

number
upgradeUrl

quota_exceeded only: where the plans and what each includes are listed.

string format: uri
Example
{
"type": "https://docs.dropslate.top/api-reference/errors/#not_found",
"status": 404,
"code": "not_found",
"message": "The post does not exist.",
"hint": "Check the id and try again."
}

No valid key, session or MCP token was sent (unauthenticated).

Media typeapplication/problem+json
object
type

Where the code is explained: the errors page of the API reference, at the code.

string format: uri
title

The code again, for readers of RFC 9457.

string
status
integer
code
required
string
message
required
string
hint
string
details

Facts some codes carry: retryAfterSeconds on rate_limited, rows on plan_has_issues, kind, plan, limit, used and upgradeUrl on quota_exceeded. A quota kind is one of accounts, posts, storage, file, members, groups, api and mcp; for groups, api and mcp (a plan without groups, without the public API, or one that lets an agent read but not publish) limit and used are 0.

limit

quota_exceeded only: what the plan includes.

number
used

quota_exceeded only: what is in use.

number
upgradeUrl

quota_exceeded only: where the plans and what each includes are listed.

string format: uri
Example
{
"type": "https://docs.dropslate.top/api-reference/errors/#not_found",
"status": 404,
"code": "not_found",
"message": "The post does not exist.",
"hint": "Check the id and try again."
}

The workspace’s plan does not include the public API (quota_exceeded, with upgradeUrl).

Media typeapplication/problem+json
object
type

Where the code is explained: the errors page of the API reference, at the code.

string format: uri
title

The code again, for readers of RFC 9457.

string
status
integer
code
required
string
message
required
string
hint
string
details

Facts some codes carry: retryAfterSeconds on rate_limited, rows on plan_has_issues, kind, plan, limit, used and upgradeUrl on quota_exceeded. A quota kind is one of accounts, posts, storage, file, members, groups, api and mcp; for groups, api and mcp (a plan without groups, without the public API, or one that lets an agent read but not publish) limit and used are 0.

limit

quota_exceeded only: what the plan includes.

number
used

quota_exceeded only: what is in use.

number
upgradeUrl

quota_exceeded only: where the plans and what each includes are listed.

string format: uri
Example
{
"type": "https://docs.dropslate.top/api-reference/errors/#not_found",
"status": 404,
"code": "not_found",
"message": "The post does not exist.",
"hint": "Check the id and try again."
}

A groupId that is not one of the workspace’s.

Media typeapplication/problem+json
object
type

Where the code is explained: the errors page of the API reference, at the code.

string format: uri
title

The code again, for readers of RFC 9457.

string
status
integer
code
required
string
message
required
string
hint
string
details

Facts some codes carry: retryAfterSeconds on rate_limited, rows on plan_has_issues, kind, plan, limit, used and upgradeUrl on quota_exceeded. A quota kind is one of accounts, posts, storage, file, members, groups, api and mcp; for groups, api and mcp (a plan without groups, without the public API, or one that lets an agent read but not publish) limit and used are 0.

limit

quota_exceeded only: what the plan includes.

number
used

quota_exceeded only: what is in use.

number
upgradeUrl

quota_exceeded only: where the plans and what each includes are listed.

string format: uri
Example
{
"type": "https://docs.dropslate.top/api-reference/errors/#not_found",
"status": 404,
"code": "not_found",
"message": "The post does not exist.",
"hint": "Check the id and try again."
}