Skip to main content
POST
Validate post content

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Content to validate

account_ids
string[]

AccountIDs lists connected account IDs - their platforms are resolved automatically.

media
object[]

Media is the ordered, agnostic media list. Each item is a url, a media_id, or a platform_attachment_id; order and mixing are preserved. Supersedes media_ids.

media_ids
string[]

MediaIDs are media file IDs to validate (checks count and type limits).

Deprecated: use Media with source_type "media_id". Ignored when media is set.

platform_data
object

PlatformData passes platform-specific fields keyed by platform name (e.g. {"instagram": {"content_type": "feed"}}). Folded into each matching target; a target's own platform_data wins on conflicts.

platforms
enum<string>[]

Platforms lists platform names to validate against (e.g. ["instagram", "linkedin"]).

Available options:
app_store_connect,
bluesky,
facebook,
google,
instagram,
instagram_fb,
linkedin,
linkedin_page,
pinterest,
telegram,
threads,
tiktok,
twitter,
whatsapp,
youtube,
zalo
scheduled_at
string<date-time>

ScheduledAt validates the schedule time (must be in the future, within platform limits).

Example:

"2026-04-01T10:00:00Z"

segments
object[]

Segments are continuation posts that publish as a native thread on X. Threads chaining is temporarily unavailable.

targets
object[]

Targets validates per-target overrides if provided.

text
string

Text is the post content to validate against platform constraints.

Example:

"Check out our new product! #launch"

Response

OK

errors
object[] | null
required
valid
boolean
required
warnings
object[] | null
required